[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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
natalie christopher
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.  :)

Natalie


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:  http://www.mulberrytech.com/xsl/xsl-list


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.