Thank you all for your help!

I've got still the same problem!
I tried the writeToFile suggestion.
The dynamic created xml data isn't in the pipeline anymore!
Only the static data appears in the output!

In my xsp code I build a dom -tree and insert the tree with
<xsp:expr>org.w3c.dom.Document</xsp:expr>
in my xml data.

I even tried to put the build methods in a Java class with static
methods
and got the same result.


PLEASE HELP!


Johannes Schwarz




>>> [EMAIL PROTECTED] 07.02.2002  12.45 Uhr >>>
>Jozsa Kristof writes:

 >> Under linux I use xsltproc, and it shortens the
 >> xsl-tinkering/testing/aint-work cycle very much.

>Great tool, I didn't know that. An alternative (and dirty)
>approach is to intercept the SAX stream in the pipeline and write
>it to a file.

>Place this into the sitemap (somewhere where a transformer can be
>placed, i.e. after a generator or another transformer):

><!-- ==== write files for debugging ==== -->
>  <map:transform src="stylesheets/saveToFile.xsl"> 
>    <map:parameter name="filename"
value="/home/tinu/debug/mySAXstream.xml"/>
>  </map:transform>


>if you use Xalan (in the Cocoon distribution), the stylesheet
>looks like:

[...]

>If you use something else than Xalan, the redirect method is
>called differently (see e.g. in Michael Kay's 900 page XSLT
>book). And don't forget to cancel these lines from the sitemap,
>as it will certainly be slow and non-portable.

>Have fun!

>Tinu



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to