Skip to main content
New Participant
Sep 19, 2022 12:13 PM UTC
Question

Reading xml file fields

Hi All,

I have one xml file 

<xs:employees>

 <xs:employee xs:employeeId="EMP001" >

    <employeeData>

     some fields 

</employeeData>

</xs:employee>

</xs:employee>

I am able to read fields for employeeData . Facing issue to read employeeId. 

Any suggestion would be appreciated.

3 replies

stefanhelzle0001
Brainy
Sep 19, 2022 12:15 PM UTC

Which way do you use to read that XML?

New Participant
Sep 19, 2022 12:17 PM UTC

by using xpathdocument & xpathSnippet I am able to read rest fields but employeeId not able to read.