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: Applying templates to Result Tree Fragment



> I ask because I've done this exact thing using the May release of the
> microsoft parser and it worked beautifully, but when I tried the same
> stylesheet with the July release this no longer worke

You can't (in XSLT 1.0) apply templates to result tree fragments.
MSXML now enforces this, and like most other XSLT processors provides a
nodeset extension function to turn the result tree fragment into a node
set.

so something like select="msxml:nodeset($somedata)"

where msxml is the ms extension namespace (whatever that is, i don't
have the docs here)

David


 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]