This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSL special chars output prob.
> And i have an additinal question. How to output character special as
> '<', '>', '/'
> in the value of text. as valueof select = "...."
That isn't an XSL question it's an XML one. You don't need to do
anything special to put > or / in an attribute value or character data,
just use the characters directly. to put < in an attribute value use
<.
So you don't need to use xsl:value of.
<xsl:template match="xxx">></xsl:template>
will cause each xxx element to be replaced by a > character.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list