This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
[MSXML3] Howto generate a node-set in an extension function ?
- To: <xsl-list at mulberrytech dot com>
- Subject: [MSXML3] Howto generate a node-set in an extension function ?
- From: "Gavin Bong" <gavinb at pobox dot com>
- Date: Mon, 27 Nov 2000 09:08:54 +0800
- Reply-To: xsl-list at mulberrytech dot com
Hi,
Extension functions in MSXML are implemented in COM objects
or in JScript/VBScript code inside the XSLT file (or included/imported
files).
According to the faq,
> "You get node-sets from a source tree
> (which is usually derived from an XML document".
Is there some way of generating node-sets as I want to create
and modify node-sets passed in as parameters into my extension
functions and return them to the callee ?
The other way could be to return an RTF and call the msxsl:node-set
built in function.
e.g. <xsl:variable name="retnodeset"
select="msxsl:node-set( myext:doSomething('//someXpathExpression') )" />
where myext is the extension namespace prefix. But it looks so ugly.
Thank you all.
Regards,
Gavin Bong
------------------------------------------------------------------------
I accept Mastercard, Visa or fully vested stock options
in pre-IPO companies with significant venture backing.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list