|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: just had a weird idea
even wierder and may open doors some of you didn't even know existed
(in msxml3 that is)
with the method addObject from the IXSLProcessor
you can add activeX objects as parameters and then using all the
properties/methods from within your xpath
dim myObject
myObject = createObject("whatever")
myProcessor.addObject myObject, "http://a.namespace.com"
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxslgen/html/enhancingxsl.asp
(yes i know, i'm a microsoft junkie)
-----Original Message-----
From: Jonathan Perret [mailto:jonathan@xxxxxxxxxxxx]
Sent: vrijdag 1 februari 2002 14:56
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: 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@xxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, February 01, 2002 7:21 AM
Subject: RE: 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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








