[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Possible to transform XML params?
From: "Kurt Cagle" <cagle@xxxxxxxxx>
Date: Thu, 16 Aug 2001 10:51:01 -0700
i am loading my xml document in asp then applying a transform with
a style sheet. if i pass in a param that contains xml, can i add
this xml to the other xml in the document so that i may process it
from within my xsl?

Jeremy,

Yes, you can do this easily. A parameter default to containing a nodeset, so
if you had an example like:

<xsl:param name="subData"/>

you can access that as if it was a node:

<xsl:template match="foo">
    <xsl:variable name="myData" select="$subData/myData"/>
</xsl:template>

-- Kurt Cagle


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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member