You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Thorsten Scherler <th...@apache.org> on 2009/03/14 21:46:35 UTC

Escape string for xml (was Re: [Feedmodule] How to declare an entity in a Java transformer ?)

On Fri, 2009-03-13 at 11:32 +0100, Florent André wrote:
...
> Thanks Andreas, it work with include... but just for "simple" www adress
> (without ? and &).
> 
> I solved the problem of ? with a "bidouille" (~= tricks) :
> -------- prepareinclude.xsl : 
> * replace with a regex the ? by /post--parameter/
> * create <include
> src="cocoon://module/webagent/retrivepipe/www/without/http/post--parameter/parameters
> 

I saw that you found another solution, however please see
http://commons.apache.org/lang/ and 
http://commons.apache.org/lang/api-release/org/apache/commons/lang/StringEscapeUtils.html

There are all the escape methods one can wish.

salu2
-- 
Thorsten Scherler <thorsten.at.apache.org>
Open Source <consulting, training and solutions>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org