[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] document() vs. current()


Subject: Re: [xsl] document() vs. current()
From: Anton Triest <anton@xxxxxxxx>
Date: Thu, 22 Jun 2006 20:50:29 +0200

current()/dd/vd[@name ='x']/@val
should work (tested with saxon 8.6)

HTH,
Anton

Marco Plum wrote:

If I change

/dd/vd[@name ='x']/@val

into its actual value (1), everything works fine...

So I thought that perhaps the function document() changes the context and I have to use the function current(), but I did not get the result I expected...


Current Thread