xsl-list
[Top] [All Lists]

Re: [xsl] Referencing XML fragments in a XSLT parameter?

2007-01-29 07:16:19

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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>