July 20, 201213 yr I am finding that when the XML contains an ampersand in the data ( e.g. <Label>David & Charles</Label> ) then the XPath Parse function returns ERROR. Is there any way to tweak the XPATH Parse code to get round this? I am already defying the inputstream to UTF=8 Thanks
July 22, 201213 yr Author Hi Beverly Done some checking and I was using the XML returned from a web tool to test parsing, but I will be using a ScriptMaster routine to get the XML in the solution - the ScriptMaster module is returning & so this was a non-issue! Thanks anyway Tim
July 22, 201213 yr Tim What about XMlSlurper functionality built into Groovy to get the data if you know the structure?
July 24, 201213 yr Author John, The XPath Parse function works perfectly with the code returned from the ScriptMaster function, but not from the MWS Scratchpad! Tim
Create an account or sign in to comment