[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

select attribute in apply-templates

Subject: select attribute in apply-templates
From: Richard Bell <RichardBell@xxxxxxxxxxx>
Date: Fri, 7 Apr 2000 11:27:12 +0100
apply templates with select attribute
SAXON has an extension saxon:node-set() which converts a result tree
fragment to a nodeset so that a statement like

<xsl:apply-templates select="saxon:node-set($y/*)"/>

works, assuming that $y refers to a result tree fragment. I have been trying
to replicate the same functionality using MSXML3 by calling an ActiveX
control. However, using statements like

<xsl:apply-templates select="mynamespace:myMethod($y/*)"/>

fail with a message saying that the expression 'mynamespace:myMethod($y/*)'
does not evaluate to a valid nodeset without calling the method of my ax
control. Wheras statements like

<xsl:value-of select="string(mynamespace:myMethod($y/*))"/>

work fine. It would appear that MSXML3 is treating the expression as a
literal path expression (for the apply-templates element at least) whereas
saxon is interpreting the extension.

Any thoughts?


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.