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

Pass XML to Stylesheet using DOM

Subject: Pass XML to Stylesheet using DOM
From: "Karl Stubsjoen" <karl@xxxxxxxxxxxxx>
Date: Mon, 16 Jun 2003 11:41:58 -0700
pass xml as parameter
Hello,
I am able to pass an XML Dom object to a stylesheet by means of a parameter.
But, I can't seem to get the content of the parameter into an
understandeable (parseable) XML format.  I can see that the parameter has
indeed been filled with good xml... but not sure how to then transform it
when in the stylesheet.

Here is what I have so far:

<xsl:param name="PxmEvent"/>
<xsl:variable name="xmEvent" select="ms:node-set($PxmEvent)"/>

I was thinking that the ms:node-set function would convert a parameter who's
content is text to a node set... but not working.  From ASP I am simply
doing this:

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

Which does indeed pass the XML... but it seems it is passed as an unuseable
string format.
Any ideas?

Karl


 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.