[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Spec. Chars - Tried FAQ answers...

Subject: Spec. Chars - Tried FAQ answers...
From: Nathan Shaw <n8_shaw@xxxxxxxxx>
Date: Mon, 23 Jul 2001 09:24:46 -0700 (PDT)
spec chars
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 "&#160;"> 
]>

- 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 "&#160;"> 
]>

- 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())">&nbsp;|&nbsp;</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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.