Re: Variables, Functions and node-set-expression

Subject: Re: Variables, Functions and node-set-expression
From: Natalie Rooney <nrooney@xxxxxxxxxxxxx>
Date: Mon, 08 Nov 1999 14:58:50 -0600
You probably want something like

select="//*[name() = $mynode]"

This will select all elements in your xml document whose tag name is
equal to the value stored in $mynode.

Or maybe that is not what you want at all.  I don't know.  :)


Christopher Travers wrote:

> Hola all,
> So this is probally trivial for those of you with Planet Size Brains, but
> is something like this allowed?
> <xsl:for-each select="//name($mynode)">
> ...
> </xsl:for-each>
> Thanks,
> Chris
> --
> Chris Travers                      Nortel Networks
> Applied Learning Technology        P.O. Box 3511, Stn. C
> ctravers@xxxxxxxxxxxxxxxxxx        Ottawa, On, Canada K1Y 4H7
>  XSL-List info and archive:

 XSL-List info and archive:

Current Thread