1. what happened to <bla> in your XPath expression?
2. note that expressin in [] is evaluated in the context of code/test
element
3. see attached example
Thomas Bopp wrote:
> Hello!
>
> I tried to use an xsl instruction like
> <xsl:value-of select="/code/test[@id=current/id]/@name">
> which seems not to work. If I am using select="/code/test/@id='1'/@name"
> for example it works fine...
> Is this a bug or meant to be like this ?
> ---Thomas
> PS: the xml code would look like:
> <code><test id=1 name="one"/><test id=2 name="two">
> <bla><current><id>1</id></current></bla></code>
>
>
--
Pavel Hlavnicka
Ginger Alliance
www.gingerall.com
test.tar.gz