Forum Discussion
Philip_Baird
11 years agoCommunity Expert
Hi rajesh, you shouldn't need any configuration to get this to work.
Have you also changed the first method call to use a lower case g?
I.e, your sample has xmlDoc.GetElementsByTagName where it should be xmlDoc.getElementsByTagName
If it still does not work, I suggest you use the debugger to evaluate the objects in the xmlDoc.GetElementsByTagName(tag).item(0).text object chain to determine at which point it is failing.
Regards,
Phil Baird
Have you also changed the first method call to use a lower case g?
I.e, your sample has xmlDoc.GetElementsByTagName where it should be xmlDoc.getElementsByTagName
If it still does not work, I suggest you use the debugger to evaluate the objects in the xmlDoc.GetElementsByTagName(tag).item(0).text object chain to determine at which point it is failing.
Regards,
Phil Baird