I have xml data like this
<ce:affiliation id="aff1">
<ce:label>a</ce:label>
<ce:textfn>Department of Urology, Radboud University Nijmegen Medical Center, Nijmegen, The Netherlands</ce:textfn>
<sa:affiliation>
<sa:organization>Department of Urology</sa:organization>
<sa:organization>Radboud University Nijmegen Medical Center</sa:organization>
<sa:city>Nijmegen</sa:city>
</sa:affiliation>
and ect..
nw i want read the text inside the "sa:affiliation" while reading text, first read text in tag inside sa:affilliation and make text like "Department of Urology, Radboud University Nijmegen Medical Center, Nijmegen" in this "," separation format and compare this text with text which inside "ce:textn" .... "/ce:textn"
like is i need to compare each ce:affillition tag with sa:affilliation for multiple files and if any mismatch need tell to user.
You can use XML::XPath to find the nodes you want. Then just check whether the two nodes'
string_valueareneq.