[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: document() vs. current()

Subject: RE: document() vs. current()
From: "Marco Plum" <m.plum@xxxxxxxxxxxx>
Date: Thu, 22 Jun 2006 23:18:02 +0200
marco plum
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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.