This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Entity Reference Questions




>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]