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> </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> </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
|