[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: just had a weird idea

Subject: RE: just had a weird idea
From: "Gertjan Assies" <gertjan.assies@xxxxxxxxxxxxxx>
Date: Fri, 1 Feb 2002 15:51:33 +0100
ixslprocessor addobject
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.