current()/dd/vd[(_at_)name ='x']/@val
should work (tested with saxon 8.6)
HTH,
Anton
Marco Plum wrote:
If I change
/dd/vd[(_at_)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...
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--