Re: Base uri of the documents on the 'current' port

So

Let that be a document

(base-uri='my-funky-document')
<a>
  <b xml:base="http://mywebsite/funkyproduct">
    <c>...</c>
    <c>...</c>
    <c>...</c>
    <d xml:base="http://this.is.not.xul/funkyproduct">...</d>
    <c>...</c>
    <c>...</c>
    <c>...</c>
  </b>
</a>

Does it mean that
<p:for-each select="*">
on that document would give

base-uri(a) = 'my-funky-document'
base-uri(b) = 'http://mywebsite/funkyproduct'
base-uri(c) = 'http://mywebsite/funkyproduct'
base-uri(d) = 'http://this.is.not.xul/funkyproduct'

Is this correct ?

Mohamed



On 5/20/07, Norman Walsh <ndw@nwalsh.com> wrote:
> / Innovimax SARL <innovimax@gmail.com> was heard to say:
> | do the xml:base attribute have any incidence ?
>
> Yes, any xml:base attribute trumps the document base URI for that
> element and its descendants.
>
>                                         Be seeing you,
>                                           norm
>
> --
> Norman Walsh <ndw@nwalsh.com> | Nothing will ever be attempted, if all
> http://nwalsh.com/            | possible objections must be first
>                               | overcome.--Dr. Johnson
>
>


-- 
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 Sunday, 20 May 2007 15:56:46 UTC