[whatwg] <base> versus xml:base

Simon Pieters zcorpan at gmail.com
Tue Mar 13 14:11:10 PDT 2007


On Tue, 13 Mar 2007 19:15:12 +0100, Asbjørn Ulsberg  
<asbjorn at tigerstaden.no> wrote:

> On Tue, 06 Mar 2007 21:38:59 +0100, Simon Pieters <zcorpan at gmail.com>  
> wrote:
>
>> They don't conflict. They are both applied. <base> is the document's  
>> base URI, and xml:base is the base URI of the element it is applied on.
>
> What about:
>
>    <base href="http://www.example.org/" xml:base="/bar" />
>
> ?

Then the document's base URI is http://www.example.org/ and the base  
element's base URI is http://www.example.org/bar.

-- 
Simon Pieters



More information about the whatwg mailing list