[XML-SIG] Equivalence test for DOM Nodes?

Roman Kennke roman at interview-machine.com
Tue Nov 25 11:26:25 EST 2003

Hi list,

Is there a utility function or something to recursivly compare two DOM
Nodes for equivalence? For instance:

<x:a xmlns:a='http://abc.org'>
  <y:b xmlns:b='http://xyz.org'>

<s:a xmlns:s='http://abc.org'>
  <t:b xmlns:t='http://xyz.org'>

can be considered equivalent. I need a function, which takes two DOM Nodes
and completely compares them for equivalence. If there is such a function
somewhere (maybe in one of the DOM implementations?) I don't need to write
it for myself...

Thanks in advance, Roman
SOAP for Python

More information about the XML-SIG mailing list