I think that you are not selecting nodes using the name spaces properly. After you instantiate your xmlDocument variable from the file, you need to create a name space manager similar to this. xmlNSMgr = new XmlNamespaceManager(xmlDocument.nameTable()); xmlNSMgr.addNamespace('svc', ' schemas.microsoft.com/.../services& ;); xmlNSMgr.addNamespace('md', ' schemas.microsoft.com/.../TrvPBSMaindata& ;); When you select a node, you need to use the abbreviation for the name space that you set up in the manager. To select your AmountCurr node, you would do something similar to this. amtCurNode = node.selectSingleNode('md:AmountCurr'); It's been a while since I've had to parse an XML document and I am writing this from memory. My apologies if I missed a step. If you need more reference, the classes work very similar to how they work in C#.
↧