Is it just me being dull-witted or do XPath queries in XDOM not work by name? Linux UV 10.2.7
I have spent quite a few hours trying to get something working and the only way I can get the node is to specify it by position rather than name. For example I have to use this format to successfully query if an 'exception' element exists: XDOMLocate(dh, '/*[1]/*[2]/*[last()]','',xh) instead of specifying exactly what I'm looking for with what I believe should be valid XPath: XDOMLocate(dh, '/ ABRPayloadSearchResults/response/exception','',xh) or even better: XDOMLocate(dh, '//exception','',xh) both of which return -1. Anyone got any clues? Cheers, Stuart Boydell _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users