Nirmal wrote:
> While using xalan 2.1.0 and xerces 1.4.3 jars, the out file will have
> the "'" in place of
> " ' " Literal in input file.
> When we use the latest version of xalan 2.7.0 and xerces 2.8.0, it will
> result the same " ' " literal in out file,
> We need "'" in output file, can anyone help me in this regard.
Why? The only requirement to escape the single quote is if you have an
attribute value delimited by single quotes where the value contains a
single quote e.g.
<element att1='''>
Otherwise a literal single quote ' works just fine.
--
Martin Honnen
http://JavaScript.FAQTs.com/