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

Re: Using a parameter to denote an element by name.

Subject: Re: Using a parameter to denote an element by name.
From: "Simon Kelly" <kelly@xxxxxxxxxx>
Date: Thu, 24 Apr 2003 07:46:17 +0200
studio deno
Thanks Américo.

Cheers

Simon

----- Original Message -----
From: "Américo Albuquerque" <aalbuquerque@xxxxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, April 23, 2003 4:57 PM
Subject: RE:  Using a parameter to denote an element by name.


> Hi
>
> <xsl:for-each select="/ROWSET/ROW/*[name()=$sig]"/>
>
>  or
>
> <xsl:for-each select="/ROWSET/ROW/*[local-name()=$sig]"/>
>
> > -----Original Message-----
> > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
> > Simon Kelly
> > Sent: Wednesday, April 23, 2003 3:39 PM
> > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > Subject:  Using a parameter to denote an element by name.
> >
> >
> > Hia all,
> >
> > I'm trying to select the children of a set of nodes that have
> > the same name. I have tried the following to do it, but I am
> > getting back illegal token errors.
> >
> > <xsl:for-each select=\"/ROWSET/ROW/$sig\">
> > <xsl:for-each select=\"/ROWSET/ROW/{$sig}\">
> > <xsl:for-each select=\"/ROWSET/ROW/child::[name() = $sig]\">
> >
> (...)
> >
>
>
>
>  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.