XML - DOM
I am using DOM method to parse the XML file. It is working fine. But in some cases I need to get type value also in a node.
For example consider a node....
<nodexx type="zzzzzz"> yyyyy </nodexx>.
In this case I am able to get the node name (nodexx in the above sample) using method get_name( ) and the value (yyyyy in the above sample) using method get_value( ).
How can I get the value of the type mentioned in the xml which is zzzzzz. (I tried checking the method get_type() but in this case it is a custom value)