[whatwg] <base> versus xml:base

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

Received on Tuesday, 13 March 2007 14:11:10 UTC