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

RE: Pass XML to Stylesheet using DOM

Subject: RE: Pass XML to Stylesheet using DOM
From: Américo Albuquerque <melinor@xxxxxxx>
Date: Tue, 17 Jun 2003 16:07:28 +0100
dom addparameter
Hi

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Karl Stubsjoen
> Sent: Monday, June 16, 2003 7:42 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  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


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.