Thanks for your help Sunfighter. Unfortunately the XML is generated by another application we are working with and we have no option to change it. The XML is actually a Job Definition File (.jdf) and contains about 2000 lines of code (most of it useless).
It's interesting what you say about the "od:" as this appears in a lot of the file. Is there a way I can reference things without the "od:"?