[XML-SIG] Node as Element? (original) (raw)

Rich Salz rsalz@zolera.com
Thu, 20 Dec 2001 12:09:53 -0500


I think there's a setting for the DOM to filter this out when it is parsed into the DOM?

I don't know about that, but I use the following (Python 2.x list comprehension) _child_elements = lambda E: [ n for n in E.childNodes if n.nodeType == Node.ELEMENT_NODE ] and write things as for y in _child_elements(y): pass

/r$

-- Zolera Systems, Your Key to Online Integrity Securing Web services: XML, SOAP, Dig-sig, Encryption http://www.zolera.com