[Home] [By Thread] [By Date] [Recent Entries]
Thanks guys, this is helpful; but as for using
disable-output-escaping, I was not able to use it for this character
(yes, Wendell, I tried). When I tried to define either #8226 or 8226
as the entity reference in my stylesheet, I got a message that the
file was not well-formed. However, when I changed the entity
reference to anything that starts with a letter "<!ENTITY bull"
instead of "<!ENTITY #8226" or "<!ENTITY 8226" I was able to save the
file without incident. I use XML spy over Xalan-Java, or MSXML4 so
maybe what I am seeing is caused by XML SPY? Doesn't seem likely.
Anyway, when I was unable to save the file, I leaped to the (wrong) conclusion that somehow defining an entity that doesn't start with a letter of the alphabet is illegal in XML, at least in an XSL stylesheet. Any guesses as to why I get the message telling me that this can be saved: <?xml version ="1.0"?> <!DOCTYPE stylesheet [ <!ENTITY ntilde "<xsl:text disable-output-escaping>&ntilde;</xsl:text>"> ]> <xsl:stylesheet . . . and this: <?xml version ="1.0"?> <!DOCTYPE stylesheet [ <!ENTITY #8226 "<xsl:text disable-output-escaping>&8226;</xsl:text>"> ]> <xsl:stylesheet . . . cannot because it's not well-formed? Why doesn't this XML content: &#8226; produce this output: •
gregm XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



