Re: document base uri

Geert Josten <geert.josten@daidalos.nl> writes:
> First of all, I am curious what the XML Base spec would say about
> the difference between the two (base-uri of document node versus
> xml:base on root element), does it distinguish between the two?

Yes. The xml:base spec talks about what the effect of the xml:base
attribute on elements. It doesn't talk about making any changes to the
ancestors of that element. Or, if it does, it says that it does not
make any such changes. :-)

> Secondly, I would make more sense to me to have a p:change-base-uri
> step that *would* allow changing the base-uri property of the
> document node.

That would be the purpose of that step.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 413 624 6676
www.marklogic.com

Received on Thursday, 22 September 2011 16:37:00 UTC