Altova Mailing List Archives

[xsl] Pass XML to Stylesheet using DOM

From: "Karl Stubsjoen" <karl@------------->
Date: 6/16/2003 10:45:00 PM
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

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


 XSL-List info and archive:


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.