Hi I'm trying to use DOM but don't really get it. So if I have some xml like this
<button> <---- this is a node ?
<name>ok</name> <--- this an element ? and a child node?
<default>true</default>
<clicked>false</clicked>
</button>
like for the element i can do myelement.getTagName() gives me name but how do i get whats in between the tags? i.e ok ( (node) myelement).getNodeValue() returns null
It all seems kind of confusing ...
<button> <---- this is a node ?
<name>ok</name> <--- this an element ? and a child node?
<default>true</default>
<clicked>false</clicked>
</button>
like for the element i can do myelement.getTagName() gives me name but how do i get whats in between the tags? i.e ok ( (node) myelement).getNodeValue() returns null
It all seems kind of confusing ...