|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: character entity references; saxon ie 6.0 differen
Dan,
At 12:59 PM 8/26/2003, you wrote: I have the following XML fragment: Saxon is correct, at least if you interpret the spec strictly as to what constitutes a text node. For some reason, IE is splitting the text node into pieces around the entity reference, so when you say select="text()" it's only giving you the piece before the entity appeared. There may be a setting you can switch when you invoke it to make it behave in closer conformance with XPath's expectations, not whatever DOM it's using that discriminates those entity references. This can't be fixed straight from the stylesheet, but if you can tweak your XML source to be something a bit more robust, such as <RECORDITEM sqlsource="cityprov" colname="col4"> <VALUE>Montréal, QC</VALUE> <RECORDREF>specialannual</RECORDREF> </RECORDITEM> then it'd be easy to write stronger XSLT that would fix this (MSXML should report the value of VALUE properly irrespective of the entity reference). Cheers, Wendell
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
|

Cart








