|
Subject: Re: [xsl] 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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Possible to transform XML par, Uronis, Jeremy | Thread | [xsl] ASP - XSL Reference, Mark Galbreath |
| [xsl] ASP - XSL Reference, Mark Galbreath | Date | Re: [xsl] Best way to include code , Mark Miller |
| Month |