View Single Post
Old September 27th, 2006, 03:10 AM
asearle asearle is offline
Authorized User
Join Date: Sep 2006
Location: Cologne, , Germany.
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts

quote:Originally posted by mhkay
 Supplying a variable, or any other expression, as an argument to the document() function is perfectly OK. It's just like any other function. The one thing that needs a little care is that the treatment of relative URIs is different depending on whether you pass a string or a node. But you're not clear what's happening. I assume it's failing, because otherwise you wouldn't be writing here - but how is it failing? If it can't find the document, then you'll need to tell us more about where the document and the stylesheet are located.

Michael Kay
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference