Re: [xsl] generating entities in XSL, < becomes &lt;

Subject: Re: [xsl] generating entities in XSL, < becomes &lt;
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 5 Nov 2002 11:13:23 GMT
> I keep getting &lt; instead of "<" signs.
XSLt generates XML (normally) in XML < signs have to be quoted .

> Is there any other way of generating entities in a XSL besides the one I
> have used?

If you use the html output method many characters will be written out as
entity references automatically. You should almost never use
disable-output-encoding as it is explictly non portable ans will not
work in many situations.

You are generating SVG it seems, you shouldn't need to do anything
special with entities at all any SVG system will have an XML parser and
will understand the default output from XSLT.



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


Current Thread