This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Embedded Javascript (xsl:script issue)
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Embedded Javascript (xsl:script issue)
- From: Zeynep Gunal <z dot gunal at publitec dot vnu dot com>
- Date: Tue, 27 Feb 2001 17:00:44 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi,
>By the way, why are you doing:
>
>> <xsl:text disable-output-escaping='yes'><XID></xsl:text>
>
>
>You don't usually need to use disable-output-escaping, so if you're
>finding it necessary then you're probably missing something. If you
>post here with a description of what you're trying to do with the
>above, and why you can't use:
>
> <XID />
>
>or something similar instead, then we'll probably be able to help.
I tried the <XID /> instead of using <xsl:text
disable-output-escaping='yes'><XID></xsl:text> and I ended up with:
<XID></XID>1
But I need to generate a line with a <XID> tag and a value and no </XID> tag
at all (I am not producing XML), hence the disable-output-escaping='yes'.
This is what I was trying to generate:
<XACT>
<XT>MODSUBSCR
<XID>1
<KEY>
<BRNO>2
<SCRID>10000034
</KEY>
</XACT>
And this is what I generated instead:
<XACT>
<XT></XT>MODSUBSCR
<XID></XID>1
<KEY>
<BRNO></BRNO>2
<SCRID></SCRID>10000034
</KEY>
</XACT>
Am I missing something?
Zeynep
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list