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

Re: Implementation question

From: Emanuele D'Arrigo <manu3d@gmail.com>
Date: Thu, 21 May 2009 23:58:16 +0100
Message-ID: <915dc91d0905211558n1facf675mab90d5733292d54a@mail.gmail.com>
To: "www-dom@w3.org" <www-dom@w3.org>
2009/5/21 Anne van Kesteren <annevk@opera.com>

> 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.
>

A-ha... the plot thickens! Thank you Anne! I just found the reference
page<http://java.sun.com/j2se/1.5.0/docs/guide/plugin/dom/org/w3c/dom/html/HTMLAnchorElement.html>for
it. That's useful, I can have a look at how things have been
implemented
in Java now! Thank you again!

Manu
Received on Thursday, 21 May 2009 22:59:15 GMT

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