base uri

Since the beginning we stay a little bit fuzzy on the notion of base
uri for a document in a sequence

But since XSLT and XSLT 2.0 outputs a sequence of documents which are
referenced by URI from inside XSLT, we need to have access to that
information

Here are the way to do that

1) XProc give access to base-uri() function.
2) XProc add an xml:base attribute to the root of the document (with
the *ENORMOUS* risk to  disturb later mechanism for that document :
XLink resolution, etc.)
3) XProc introduce a new $p:base-uri bounded to the URI of the current
doc in the sequence
4) something else ?

Mohamed

-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 8 72 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 €

Received on Tuesday, 1 May 2007 20:01:32 UTC