You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Balaji Varatharaj <bv...@datalinx.net> on 2003/01/28 16:42:07 UTC

Problem with xsltc when input xml source contains "

Hi,
The output from xsltc transformation is abnormal
when the input xml contains &quot;. Using xsltc i
have compiled the style sheets inot a jar file
which i am using for transformation.


This is the input xml passed to the xsltc compiler:-

<DIOQSRESP>
<TITLE>&quot;ALL PENDING PROVISIONING ORDERS BY FRAME DUE
DATE&quot;,</TITLE>
<RECORD>
	<TEXT>LOC(7,5) IS&quot;_____&quot;;</TEXT>
	<MASK>&quot;_____&quot;</MASK>
</RECORD>
<ECAGR>
	<ECMSG>Operation successful</ECMSG>
	<ECSERVER>ebizz1</ECSERVER>
	<ECHARMPID>32260</ECHARMPID>
</ECAGR>
</DIOQSRESP>

The output that i am expecting in HTML is LOC(7,5) IS"_____".
i.e th text in <TEXT>LOC(7,5) IS&quot;_____&quot;;</TEXT> tag
should be converted to LOC(7,5) IS"_____";

But right now i am getting it as LOC(7,5) IS.

I am attaching the xsl which acts on the <DIOQSRESP> element (OQS.xsl)

Any ideas ?

Thanks
Balaji