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: Puzzled by the XT and MSXML result.


Didier,

This is a bug in MSXSL (which should be fixed for the next web release).
The reason your stylesheet does not work as desired under XT is:

1. Your <apply-templates/> call selects all children of the root, regardless
of name or type.

2. One of these children is the document element <document>, which has a
default namespace of "http://www.netfolder.com/2000/netfolder".

3. You have a match pattern of "document" in your stylesheet, but this will
only match document elements having a null URI.

4. XT correctly does not apply that template rule, and instead applies the
built-in template rules, which is why you're seeing a text dump of your
input document.

~Andy


 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]