Hello

I have this following xml comming in..

I want to do a loop for each "employeeData" and

in each employeeData I want to choose two feilds with their values

employeeData/Login
employeeData/Language


I have created a local variabel that has this xml and did a
toke-xml-parse on it so that it can be a Node-set. So far so good..

Can you guys help me to further with above XPaths? May be you geoff
??



<ns:exportDataResponse
xmlns:ns="http://webservice.dataservices.local">
<ns:return xsi:type="ax27:ExportResponse"
xmlns:ax27="http://model.webservice.dataservices.local/xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ax27:actionResponse>200</ax27:actionResponse>

<!-- RECORD1 -->
<ax27:employeeData xsi:type="ax27:EmployeeData">

<ax27:employeeAttributes xsi:type="ax27:EmployeeAttribute">
<ax27:dataId xsi:nil="true"/>
<ax27:fieldId>1</ax27:fieldId>
<ax27:name>LOGIN</ax27:name>
<ax27:value>jamesdean</ax27:value>
</ax27:employeeAttributes>

<ax27:employeeAttributes xsi:type="ax27:EmployeeAttribute">
<ax27:dataId xsi:nil="true"/>
<ax27:fieldId>3</ax27:fieldId>
<ax27:name>ACCESS_DISABLE</ax27:name>
<ax27:value>false</ax27:value>
</ax27:employeeAttributes>

<ax27:employeeAttributes xsi:type="ax27:EmployeeAttribute">
<ax27:dataId xsi:nil="true"/>
<ax27:fieldId>4</ax27:fieldId>
<ax27:name>LANGUAGE</ax27:name>
<ax27:value>English</ax27:value>
</ax27:employeeAttributes>
</ax27:employeeData>


<!-- RECORD2 -->

<ax27:employeeData xsi:type="ax27:EmployeeData">
<ax27:employeeAttributes xsi:type="ax27:EmployeeAttribute">
<ax27:dataId xsi:nil="true"/>
<ax27:fieldId>1</ax27:fieldId>
<ax27:name>LOGIN</ax27:name>
<ax27:value>maxdude</ax27:value>
</ax27:employeeAttributes>

<ax27:employeeAttributes xsi:type="ax27:EmployeeAttribute">
<ax27:dataId xsi:nil="true"/>
<ax27:fieldId>3</ax27:fieldId>
<ax27:name>ACCESS_DISABLE</ax27:name>
<ax27:value>false</ax27:value>
</ax27:employeeAttributes>

<ax27:employeeAttributes xsi:type="ax27:EmployeeAttribute">
<ax27:dataId xsi:nil="true"/>
<ax27:fieldId>4</ax27:fieldId>
<ax27:name>LANGUAGE</ax27:name>
<ax27:value>English</ax27:value>
</ax27:employeeAttributes>

</ax27:employeeData>

</ns:return>
</ns:exportDataResponse>


--
belaie
------------------------------------------------------------------------
belaie's Profile: https://forums.netiq.com/member.php?userid=308
View this thread: https://forums.netiq.com/showthread.php?t=42732