Print

Print


On 9 Jan 2013, at 23:17, "John P. McCaskey" <[log in to unmask]> wrote:

> I never use XPath 2.0, so I may not understand how base-uri works, but shouldn't 
> base-uri(/tei:TEI)
> here be
> base-uri(.)
> to account for any xml:base attributes up the hierarchy?
> 
You may be right. I didn't actually test this. It would be interesting to make up a test file with all the possibilities and set a challenge to implement some form of processing. Of course, that begs the question of what one is trying to get out of that example bit of markup.

Sebastian