xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Pass XML to Stylesheet using DOM


Subject: [xsl] Pass XML to Stylesheet using DOM
From: "Karl Stubsjoen" <karl@xxxxxxxxxxxxx>
Date: Mon, 16 Jun 2003 11:41:58 -0700

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
Keywords
xml
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor