Slicing an IXMLDOMNodeList

marcel.vandendungen at gmail.com marcel.vandendungen at gmail.com
Mon Jun 13 15:52:31 EDT 2005


For future reference:

The solution to this problem is a simple one.
rgelem = list(xmldoc.selectNodes('/root/elem'))
returns a real list of IXMLDOMElements that can be sliced.

-- Marcel




More information about the Python-list mailing list