tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan <>
Subject Re: ampersand (&amp;) handling in jspx - any workaround?
Date Wed, 14 Feb 2007 19:43:22 GMT
Nicholas Sushkin schrieb:
> He doesn't want to see '&amp;', he wants to see '&' in his browser rendering

> an XHTML document produced by an JSPX page. So, the point of the post was 
> probably that XHTML serializer of JSPX output should be more XML-like and 
> serialize '&' as '&amp;', not as '&'.
> On Wednesday 14 February 2007 12:38, Christopher Schultz wrote: 
>> If you put &amp; into an XML file, it gets treated as a single '&'. If
>> you want '&amp;', you gotta say '&amp;amp;'. <shrug>
Almost. I'll produce xml which goes through a xslt filter. The jspx 
should generate a valid xml file and it would be nice, if the users can 
produce the jspx files with standard editors/methods, without "double-amps".


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message