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

Implementation question

From: Emanuele D'Arrigo <manu3d@gmail.com>
Date: Tue, 19 May 2009 14:56:42 +0100
Message-ID: <915dc91d0905190656y786d7f58g82133c16c1443f63@mail.gmail.com>
To: "www-dom@w3.org" <www-dom@w3.org>
Hi everybody,

is it on-topic to ask DOM implementation questions here or is this
mailing-list only for DOM specifications discussions?

Specifically, I'd like to understand how to go from an implementation
that handles any XML document to one that handles XML documents were
the tags have specific meaning, i.e. SVG or XHTML. Do implementations
subclass the Element class and override Document.createElement() to
create the appropriate object? 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? If both approaches are valid,
is there one approach that is "more standard" than the other?

Received on Tuesday, 19 May 2009 13:57:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:14 UTC