Weren't you firing SAX events in that "toSAX" line already ?

Why are you even bothering with the <Result> node ?

Oleg

Jaksch Stefan wrote:
Found the bug...
Firing all sax events from my Document class results in something like this:

<?xml version="1.0" encoding="UTF-8"?>
<Result><?xml version="1.0" encoding="UTF-8"?>

<elementFromMyDoc>

<elementFromMyDoc> . . .

So I'll start working on my code to get some well-formed xml out of my xsp...

Stefan

-----Urspr�ngliche Nachricht-----
Von: Oleg Dulin [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 15. Oktober 2003 14:57
An: [EMAIL PROTECTED]
Betreff: Re: XSP and XSLT -> Exception in ServerPagesGenerator.generate()



How do you transform the file ? Are you using a pipeline or something else outside of Cocoon ?


Cocoon XSLT transformer as is is using standard org.w3c.dom , not JDom. Perhaps you should add your own JDom transformer into the pipeline. Otherwise, I recommend converting the object into DOM first.

Oleg

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





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



Reply via email to