[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: maintain TeX ampersands
> Unfortunately some of the TeX contain obviosuly ampersands which I > thought that being in CDATA they would not be converted to &-s . To represent an ampersand in XML you can either go & or <![CDATA[&]]> these mean the same thing and either of them will, in XSLT, result in a string value of a string of length 1 consisting of a single ampersand character. This is presumably what you want. If you output a string containing an ampersand from xslt using the text output method you get a & but if you output it using the html or xml methods you get any XML syntax that would result in a single & being reported by the parser, typically xslt systems use either & or <![CDATA[&]]>. What exactly was the problem that you were having? David -- http://www.dcarlisle.demon.co.uk/matthew ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|