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]
Other format: [Raw text]

Re: just had a weird idea


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]