How should I output "<", "&" ?

Subject: How should I output "<", "&" ?
From: Kenneth Li <kli@xxxxxxxxxxxxxxxx>
Date: Tue, 27 Oct 1998 19:53:20 -0500
Following is a part of my XSL file:


<xsl:for-each select="LMP/STOCKQUOTERS">
<COL>
<VAR NAME="DEST"
VALUE="GetQuoteDetail.puml?FUNCTION=GetQuoteDetail&STOCK=MSFT
&EXCHANGE=NASDAQ"/>
</COL>
</xsl:for-each>

The question is:

When I use James Clark's XT&XP to parse the file, I am told that I can
not use "<", ">" and "&".

But following is OK:

xsl:for-each select="LMP/STOCKQUOTERS">
<COL>
&lt;VAR NAME="DEST"
VALUE="GetQuoteDetail.puml?FUNCTION=GetQuoteDetail&amp;STOCK=MSFT
&EXCHANGE=NASDAQ"/&gt;
</COL>
</xsl:for-each>

But I really want to use the first one. Is there a way that I can do it?

Thank you very much for any hint!!

ken



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread