This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: just had a weird idea
- From: "Jonathan Perret" <jonathan at holylabs dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 1 Feb 2002 14:55:32 +0100
- Subject: Re: [xsl] just had a weird idea
- References: <5144A3121B37D411BC0100508B955A1807EC2D5C@uspalx20a.pal.sap-ag.de>
- Reply-to: xsl-list at lists dot mulberrytech dot com
I'll assume you've got an IXSLProcessor in myProcessor :
Dim doc As New DOMDocument
doc.setProperty "selectionLanguage","XPath"
doc.loadXML "<x><y /></x>"
Dim ns As IXMLDOM
Set ns=doc.selectNodes "//y"
myProcessor.addParameter "param1",doc
myProcessor.addParameter "param2",ns
Hope this helps.
--Jonathan
----- Original Message -----
From: "Kovach, Dave" <dave.kovach@sap.com>
To: <xsl-list@lists.mulberrytech.com>
Sent: Friday, February 01, 2002 7:21 AM
Subject: RE: [xsl] just had a weird idea
> Jonathan,
>
> Can you post the code for this? I would like to see how you
> passed node-sets or documents in as PARAMETERS and not using
> addObject as in.... using MSXML.
>
> nodeset = some xml document or something
> myProcessor.addObject(objName, nodeset)
>
>
> Thanks,
>
> David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list