Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

XML - DOM

Hi,

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)

Thanks,

Krish

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question