Re: [xsl] just had a weird idea

Subject: Re: [xsl] just had a weird idea
From: "Jonathan Perret" <jonathan@xxxxxxxxxxxx>
Date: Fri, 1 Feb 2002 14:55:32 +0100
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@xxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
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


Current Thread