Hi,
I have this xml data format. I would like to extract the properties name and value from it. I have tried to get node by node but it is troublesome.
<?xml version="1.0"> encoding="ASCII"?>
<xDiagram>
<children iD="1261435145010.0" location="Point(547,184)"
size="Dimension(102,140)" shapeType="TestInfoShape"
modelEntityID="TestInfo.7">
<properties>
<properties name="desc" type="MultiLinesText"
parent="this_comp1" parentName="multiLinesText"
modelPropName="desc" value="create test user can access"/>
<properties name="name" type="String" parent="this_comp2"
parentName="text" modelPropName="name" value="testCase1"/>
</properties>
</children>
</xDiagram>
Can anyone suggest a better way to do it? I like to use XPath but it can't lock on the element.
Thanks