[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: 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
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member