This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Spec. Chars - Tried FAQ answers...
- To: XSL-List at lists dot mulberrytech dot com
- Subject: [xsl] Spec. Chars - Tried FAQ answers...
- From: Nathan Shaw <n8_shaw at yahoo dot com>
- Date: Mon, 23 Jul 2001 09:24:46 -0700 (PDT)
- Reply-To: xsl-list at lists dot mulberrytech dot com
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