[XML-SIG] Node as Element? (original) (raw)
Rich Salz rsalz@zolera.com
Thu, 20 Dec 2001 12:09:53 -0500
- Previous message: [XML-SIG] Node as Element?
- Next message: [XML-SIG] The right PyXML-0.x.x/Python-2.x.x ? for Unix
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [XML-SIG] Node as Element?
- Next message: [XML-SIG] The right PyXML-0.x.x/Python-2.x.x ? for Unix
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]