cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabi Brysch" <bry...@inxnet.de>
Subject AW: xml/xsp input ------> xml output?
Date Tue, 14 Nov 2000 09:31:05 GMT
hi,

it did something similar maybe is useful for you:

 xml file --> produce xml with own producer --> (xml-output-first) -->
xsp-page to
 add some xml to the produced xml-file-first --> render it to html.

 for testing i always look the different xml-files which are generated in
between, which
 means before the html-rendering for looking if i produced the xml-files i
wanted !!

 for that i change from
.. inside the xsl-stylesheet:

.....
 <xsl:processing-instruction
name="cocoon-process">type="xslt"</xsl:processing-instruction>
 <xsl:processing-instruction name="xml-stylesheet">href="people.xsl"
type="text/xsl"</xsl:processing-instruction>
.....
    to:

.....
<xsl:processing-instruction
name="cocoon-format">type="text/xml"</xsl:processing-instruction>
....

so i have the result in xml (just for the testing-phase)

after i kick out the pi cocoon-format text/xml and replace it with this two
pi's

    <xsl:processing-instruction
name="cocoon-process">type="xsl"</xsl:processing-instruction>

    <xsl:processing-instruction name="xml-stylesheet">href="people.xsl"
type="text/xsl"</xsl:processing-instruction>



is it useful for you ???

GABI









Mime
View raw message