[Home] [By Thread] [By Date] [Recent Entries]

Subject: Entity Reference Questions
From: "Albert Tsun" <albert.tsun@xxxxxxxxxxxx>
Date: Wed, 30 May 2001 15:06:17 +0800

>From XSLT Programmer Reference, Mike says

<!DOCTYPE xsl:stylesheet [
     <!ENTITY  nl  "<xsl:text>&#160;</xsl:text>">
]>

However, as I quote &nl; within XSL, the xerces parser throw an Exception.

javax.xml.transform.TransformerException: xsl:text is not allowed in this
position in the stylesheet

but if I place <xsl:text>&#160;</xsl:text> within XSL, It is ok.

What is the difference ? Do anyone has any clue ?



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member