Re: Implementation question

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 UTC