Re: [DOM] DOM4 draft : getAttributeNode() and getAttributeNodeNS() substitute ?

On Thu, Oct 4, 2012 at 11:52 AM, Sylvain Spinelli
<sylvain.spinelli@free.fr> wrote:
> It's useful when you manipulate DOM trees. For example :
> - In a previous project I have implemented a xml editor : the DOM source (in
> any arbitrary schema xml) is traversed and binded with html widgets for
> editing. In the building editor process I need to keep some properties on
> each Attr object.
> - In a new project I work on an algorithm for identifying differences
> between two DOM trees. I need to get Attr object by its name and set some
> computed matching scores on it.

Why not store this information on the Element object instead?

/ Jonas

Received on Thursday, 4 October 2012 20:30:19 UTC