This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: just had a weird idea
- From: "Gertjan Assies" <gertjan dot assies at backstream dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 1 Feb 2002 15:51:33 +0100
- Subject: RE: [xsl] just had a weird idea
- Reply-to: xsl-list at lists dot mulberrytech dot com
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@holylabs.com]
Sent: vrijdag 1 februari 2002 14:56
To: xsl-list@lists.mulberrytech.com
Subject: Re: [xsl] 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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list