RE: node-set() function in MSXML?
Mike Kay wrote: > I believe this non-compliance in MSXML is merely that it processes something > which the spec says it must report as an error: it doesn't cause any correct > stylesheets to behave differently from the way the spec says they should. So > the only real portability impact is that a stylesheet that "works" on MSXML > won't port to something else. Another problem exists with this syntax: conformant processors might flag "$x/foo" as an error at compile-time (I don't know if any currently do). If "msxsl:node-set($x)/foo" is used instead, then other processors will only give a runtime error if that statement is executed (not allowed to throw compile-time error). This makes it possible to write a stylesheet that switches on "xsl:vendor" and uses the node-set function particular to a particular vendor. ~Andy Kimball MSXSL Dev 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