This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: •


> "<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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]