Hi Balaji,

 I'm not sure how you compiled your stylesheet. It references a few
templates that are not defined or included (XSLTC must have access to all
the templates statically). I wrote a very simple stylesheet that matches on
"TEXT" and "MASQ" and prints their value. XSLTC works fine, so I can't
reproduce your problem.

 Make sure your using a recent version of XSLTC; if you are still
experiencing the problem, I suggest that you send us a "simple" stylesheet
(only a few lines) that shows the problem. I'm attaching the xsl/xml pair
that I used.

-- Santiago

----- Original Message -----
From: "Balaji Varatharaj" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 10, 2003 5:07 PM
Subject: RE: Problem with xsltc when input xml source contains &quot;


> Hi ,
>     Only this oqs.xsl uses the quotes.U can find it at line 57 as
"<xsl:when
>
test="MASK='&quot;____&quot;,&quot;____&quot;,&quot;____&quot;,&quot;____&qu
> ot;,&quot;____&quot;'">".
>
> I have attached all the xsl as zip for ur reference
>
> Thanks
> Balaji
>
>
> -----Original Message-----
> From: Santiago Pericas-Geertsen
> [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 10, 2003 3:30 PM
> To: Balaji Varatharaj; [EMAIL PROTECTED]
> Subject: Re: Problem with xsltc when input xml source contains &quot;
>
>
> Balaji,
>
>  Please provide a complete stylesheet. There are a number of templates
(e.g.
> AddSubmit) that are not defined in the stylesheet that you've sent.
>
> -- Santiago
>
> ----- Original Message -----
> From: "Balaji Varatharaj" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, February 10, 2003 3:09 PM
> Subject: Problem with xsltc when input xml source contains &quot;
>
>
> > 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 in Advance
> > Balaji
> >
> >
>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
version="1.0"
xmlns:ifas="ifas.uri"
exclude-result-prefixes="ifas"
>

<xsl:template match="TEXT">
	<xsl:value-of select="."/>
</xsl:template>

<xsl:template match="MASQ">
	<xsl:value-of select="."/>
</xsl:template>

<xsl:template match="text()"/>

</xsl:stylesheet>
<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>

Reply via email to