Hello, in my xsl file I have
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0"/>
...
<xmlpost>
<xsl:value-of select="$donnee" disable-output-
escaping="yes"/>
</xmlpost>
...
in my java code :
...
transformer.transform(new DOMSource((Document)arbre), new
StreamResult(stream));
...
When I run this program I obtain :
org.xmlpull.v1.XmlPullParserException: entity reference name can not
contain character =' (position: TEXT seen ...<xmlpost>Ap
pl=WEBACC&Ident=... @21:28)
That happens on the following string :
/cgi-bin/emxml?Appl=WEBACC&Ident=00000000&Secret=00
I'm using disable-output-escaping="yes" to obtain in my output stream
<xmlpost>/cgi-bin/emxml?
Appl=WEBACC&Ident=00000000&Secret=00</xmlpost>
instead of
<xmlpost>/cgi-bin/emxml?
Appl=WEBACC&Amp;Ident=00000000&Amp;Secret=00</xmlpost>
The running jre is 1.2
How can I solve this problem ?
thanks in advance
PLedreau