lenya-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Escape string for xml (was Re: [Feedmodule] How to declare an entity in a Java transformer ?)
Date Sat, 14 Mar 2009 20:46:35 GMT
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


Mime
View raw message