Navigating to nodes using xpath in flat structure
- by James Berry
I have an xml file in a flat structure. We do not control the format of this xml file, just have to deal with it. I've renamed the fields because they are highly domain specific and don't really make any difference to the problem.
<attribute name="Title">Book A</attribute>
<attribute name="Code">1</attribute>
<attribute…