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

Subject: Re: Referencing XML fragments in a XSLT parameter?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 29 Jan 2007 14:10:44 GMT
> I could pass the dom into a param, but how to reference it?

do you mean how to reference it from within the stylesheet?
Just use $paramname.

<xsl:param name="otherdoc"/> <!-- pass in document node from outside -->

...

<xsl:apply-templates select="$otherdoc/some/path/to/somewhere"/>

...



David

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