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]

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

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