cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Wielgus <>
Subject XSP - escaping
Date Tue, 30 Dec 2003 18:36:03 GMT

I have the following problem:
I am using a textarea to submit some content which then is written
to an xml file with source writing transformer. The problem is, I
want the "<" and ">" characters not to be replaced with "&lt;" and

I am working with XSP and the I pass the content from the textarea
as a parameter to an xsp page, where I have the code that writes it
to a file:

    <xsp-request:get-parameter name="inhalt"/>

I have read about such problems on this list and I saw a such solution:

<xsp-request:get-parameter name="inhalt"/>

But when I put this between the <root>-tags withing the write-source
fragment then I get an error message that says:

org.xml.sax.SAXParseException: Content is not allowed in prolog.

What am I doing wrong?

Any help appreciated


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message