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

Subject: RE: [xsl] document() vs. current()
From: "Marco Plum" <m.plum@xxxxxxxxxxxx>
Date: Thu, 22 Jun 2006 23:18:02 +0200
I don't know what I did wrong before - but anyway, it works.

Thank you all for the fast help!

Marco

> -----Original Message-----
> From: Anton Triest [mailto:anton@xxxxxxxx]
> Sent: Thursday, June 22, 2006 8:50 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] document() vs. current()
>
> 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