xsl-list
[Top] [All Lists]

RE: Pass XML to Stylesheet using DOM

2003-06-17 08:07:28
Hi

-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com 
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
Karl Stubsjoen
Sent: Monday, June 16, 2003 7:42 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Pass XML to Stylesheet using DOM


(...)
working.  From ASP I am simply doing this:

 set xmPrc = xmTmp.createprocessor
 xmPrc.input = xmDoc
 xmPrc.addParameter "PxmEvent",xmEvents.xml

That?s because you are passing a string format (doc.xml returns the string
representation of the document)
Try xmPrc.addParameter "PxmEvent",xmEvents.documentElement (if xmEvents is a
DOMDocument)
Or xmPrc.addParameter "PxmEvents",xmEvents (if xmEvents is IXMLElement)

(...)



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>