How to get a sub tag in xml file
As the xml file is the below thing
<?xml version="1.0" encoding="UTF-8"?>
<addRequest xmlns:spml="urn:oasis:names:tc:SPML:2:0">
<data>
<attributes>
<attr name="Objectclass">
<value>SafePolicy</value>
</attr>
<attr name="name">
<value>NewPolicy</value>
</attr>
<attr name="Resource">
<value>NewResourceclass</value>
</attr>
<attr name="Description">
<value>This is a New AccessPolicy</value>
</attr>
</attributes>
</data>
</addRequest>
The Schema has only the data and i was able to get the data object and the data can contain any namespace ,so i had the attributes and which inturn contain the attr and value .I have to get the Attributes , so that i can get the attr(name) and value pairs.Initially i did the unmarshal stuff and got until data but giving an error when i try to obtain the other tags .Can any body send the code for obtaining that by using the unmarshalling concept please.I need it .
Thank you,

