Subject: Re: Escaping within an xsl:attribute element
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 9 Dec 1999 00:40:54 GMT
|
> keeps trying to use them as XML elements and gets upset at me...
parsers don't get upset they just report errors (honestly:-)
You have put elements inside xsl:text, but the content of xsl:text
should be, well, text. The parser is using them as XML because they are
XML. literal result elements go straight into the template, not inside
xsl:text. Also the entity will generate an undefined entity
unless you have defined it in the stylesheet. Use  .
XML attributes always have to have a value, so you can't use `nowrap'
without giving it a value.
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|