[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Spec. Chars - Tried FAQ answers...
I am trying to use NBSP in my XSL and it is telling me it is an undefined entity. I have tried the solutions in the FAQ to no avail... Example 1: within the XML DTD <!DOCTYPE document SYSTEM "document.dtd" [ <!ENTITY nbsp " "> ]> - Works fine, but I don't want to use NBSP in my XML file. I want to use it in my XSL file. Example 2: within the XSLT stylesheet <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> ]> - Tells me that the element xsl:stylesheet is used but is not declared in the DTD. Here is what I am doing in my XSL: <xsl:template match="MainMenuItem"> <b><a href="{@URL}"><xsl:apply-templates /></a></b><xsl:if test="not(position()=last())"> | </xsl:if> </xsl:template> Using MSXML, but also tried it on InstantSaxon with same results. Any thoughts? Nate ===== ---------------------------- Nathan Shaw Web Applications Developer iaffect http://www.iaffectonline.com http://www.iaffectTV.com ---------------------------- __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|