Quantcast
Channel: Daz Script Developer Discussion - Daz 3D Forums
Viewing all articles
Browse latest Browse all 1036

How do I retrieve all attributes from a DzDomElement

$
0
0

I've been trying to develop a depth first XML parser that emits events on start tag, end tag, and text (SAX parser). I can recurse through the DzDomElements just fine using ::firstChild() and ::nextSibling(), but I can't find a way to retrieve a list of attributes on the node. I can pull the value of elements by name, but what I really want is to build a dictionary of name, value pairs.

I've been crawling through the documentation and dumping objects for the last couple of days, but I can't find a method that will allow me to enumerate the attributes.

Has anybody done this?


Viewing all articles
Browse latest Browse all 1036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>