xsl-list
[Top] [All Lists]

Using a parameter to denote an element by name.

2003-04-23 07:38:50
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]\">

and a few others as well, but I can't remember what I wrote the first couple
of times :-(

What is the easiest way of doing this sort of select?

Cheers

Simon

"Make it idiot proof, and someone
 will make a better idiot" - Anon

Institut fuer
Prozessdatenverarbeitung
und Elektronik,
Forschungszentrum Karlsruhe GmbH,
Postfach 3640,
D-76021 Karlsruhe,
Germany.

Tel: (+49)/7247 82-4042
E-mail : kelly(_at_)ipe(_dot_)fzk(_dot_)de


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



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