>Wrapp the page ContentHandler
> inside a org.apache.cocoon.xml.EmbeddedXMLPipe before
> passing it to the parser.
> --
> Torsten
Thanks Torsten, this is indeed the probleem and your solution works ! So the
code I now have is (for later reference):
Parser parser = null;
try {
On Wed, 2 Jan 2002, Torsten Curdt wrote:
>
> Be careful. The above will break the XSP SAX structure.
> You need to think of the events:
>
> -xsp:startDocument
> -xsp:startElement
> -xsp:endElement
> - ... some more ...
>// now your code
>-parser:startDocument
>
> Hi all,
>
> I want to be able to parse a java string to an xml representation in a XSP.
> Looking at the source code for the StreamGenerator (which takes a http-post
> stream) i have written the following code to parse a xml string in xsp:
>
> Parser parser = null;
> try {
>
Hi all,
I want to be able to parse a java string to an xml representation in a XSP.
Looking at the source code for the StreamGenerator (which takes a http-post
stream) i have written the following code to parse a xml string in xsp:
Parser parser = null;
try {
org.xml.sa