Hi friend,
My problem is my xml file is in source folder i want to parse that xml file but i dont know how to call that xml file without using http request can any one tell me how parse that local xml file if possible one small example please…
Hi friend,
My problem is my xml file is in source folder i want to parse that xml file but i dont know how to call that xml file without using http request can any one tell me how parse that local xml file if possible one small example please…
If it’s in your source directory (and I’d recommend creating a separate directory for your XML file(s)), you have to read it into a string variable. Something like this:
xml = ReadAsciiFile("pkg:/source/myxml.xml")
xmlel = CreateObject("roXmlElement")
xmlel.Parse(xml)
Hope this helps!
-JT
Thanq for reply