Yeah that killed me too... perhaps it is more correct to say that "." is scoped to the XPath statement, while current() is scoped outside the XPath statement.

simon

On Saturday, February 22, 2003, at 07:01 AM, J�rg Walter wrote:

The correct usage is: select="/selections/regions/*[id=current()]"
(The reason being, the 'context' node (".") changes with each "/", while XSLT
maintains a separate 'current' node, which only changes on apply-templates or
inside for-each. Consequently, the behaviour you observe is correct.)


--
     anti-spam: do not post this address publicly
www.simonwoodside.com -- 99% Devil, 1% Angel


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to