Subject: [xsl] Spec. Chars - Tried FAQ answers... From: Nathan Shaw <n8_shaw@xxxxxxxxx> Date: Mon, 23 Jul 2001 09:24:46 -0700 (PDT) |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: Stripping whitespace with, Dimitre Novatchev | Thread | Re: [xsl] Spec. Chars - Tried FAQ a, David Carlisle |
Re: [xsl] repetition using for-each, David Carlisle | Date | [xsl] HTML within an element, Nathan Shaw |
Month |