I struggle to walk over an XML file and extract data. The attached xml is an example file I try to walk over and I look for date in the table. In fact I’d like to loop between ticket numbers 54505586 and 57949164 and extract the data.
Hi Walter
hmm, still can’t find anything. If I upload my xml file to an xml parser and search for the first ticketnumber I get the following path back: object/html/body/div/table/tr
However using xmlSearch with that path returns an empy array. I can dump the whole xml and follow the path so it’s all there but xmlSearch doesn’t find my first ‘tr’
XmlSearch(ser[1],‘//*[local-name()=“tr”]’ was the solution. Not sure why my htm/xml file doesn’t react like normal but now I can access the data and my import works without using manual workaround (open in Excel and save as csv)