W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2009

Re: Implementation question

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 21 May 2009 10:37:30 +0200
To: "Emanuele D'Arrigo" <manu3d@gmail.com>, "www-dom@w3.org" <www-dom@w3.org>
Message-ID: <op.ut9t8s0n64w2qv@annevk-t60>
On Thu, 21 May 2009 10:30:09 +0200, Emanuele D'Arrigo <manu3d@gmail.com> wrote:
> This matches the second option in my original post: "(...) Or is the DOM
> tree created out of the
> input file and then a parallel, specialised, structure is instantiated  
> and appropriately kept in sync with it? (...)".

I think both were true to some extent to be honest. Element nodes of elements with a recognized name and namespace are represented by specific objects within the DOM, not generic Element objects. E.g. <a xmlns="http://www.w3.org/1999/xhtml"> is represented by an HTMLAnchorElement object.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Thursday, 21 May 2009 08:38:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:00 GMT