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(_at_)cking(_dot_)be]
Sent: Thursday, June 22, 2006 8:50 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] document() vs. current()
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>
--~--
--~------------------------------------------------------------------
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>
--~--