Re: [xsl] •

Subject: Re: [xsl] •
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sat, 8 Jun 2002 20:28:02 +0100
> "<xsl:text disable-output-escaping>&amp;ntilde;</xsl:text>">
why would you want to use disable-output encoding here?
It just makes your stylesheet non portable.

> <!ENTITY #8226

entity names are XML names and thus have the same constraints as element
names. # is not a name-start character. You can't have an entity called
#8226 any more than you can have <#8226/>

You haven't said what it is you are trying to do, if your aim
is to ger a bullet into the output you don't need to define any entities
or use disable-output encoding, just use &#8226;.

similarly if you want to generate an ntilde in the output then you don't
need anything like
<!ENTITY ntilde
"<xsl:text disable-output-escaping>&amp;ntilde;</xsl:text>">
]>


you just need to use &#241; at the point in the stylesheet where you
need this 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


Current Thread