This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Entity Reference Questions
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] Entity Reference Questions
- From: "Albert Tsun" <albert dot tsun at excel dot com dot hk>
- Date: Wed, 30 May 2001 15:06:17 +0800
- Reply-To: xsl-list at lists dot mulberrytech dot com
>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