Re: second parameter of document function broken?

2005-10-25 Thread Eric J. Schwarzenbach
Oh, that's where I misunderstood it. Since the doc I want to get the base uri from is the one being processed, I was able to simply do: document($filename, .) Thanks much for clearing that up for me. Eric Erin Harris wrote: >The spec says: "The base URI (see [3.2 Base URI]) of the nod

Re: second parameter of document function broken?

2005-10-25 Thread Erin Harris
The spec says: "The base URI (see [3.2 Base URI]) of the node in the second argument node-set that is first in document order is used as the base URI for resolving the relative URI into an absolute URI.". So it looks like an actual node in an existing document is needed for the second parameter so

second parameter of document function broken?

2005-10-25 Thread Eric J. Schwarzenbach
I'm finding frustration trying to use the second parameter of the document function. (I'm using xalan 2.7.0) It seems like it ought to be a simple, useful, and intuitive thing, but damned if I can get it to work, or find a good example of it anywhere, from Michael Kay's book to the internet. I've