Subject: RE: [xsl] just had a weird idea From: "Gertjan Assies" <gertjan.assies@xxxxxxxxxxxxxx> Date: Fri, 1 Feb 2002 15:51:33 +0100 |
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: [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@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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] just had a weird idea, Jonathan Perret | Thread | [xsl] Re:, Peter Davis |
[xsl] xsl:for-each immediately foll, Mike Bandy | Date | [xsl] assign values, 林 子芯 |
Month |