Please read the xquery doc again.
https://www.lianja.com/doc/index.php/XQUERY_OPEN()
https://www.lianja.com/doc/index.php/XQUERY_DECODE()
https://www.lianja.com/doc/index.php...Y_ATTRIBUTES()
https://www.lianja.com/doc/index.php/XQUERY_SELECT()
Example code to read your XML file using xquery notation.
Code:
xquery_open("c:\barry\LAVERDA XML.xml")
local cnt = xquery_count("/report/ConditionalArea/BodySalesTable")
for i=1 to cnt
? xquery_node("/report/ConditionalArea/BodySalesTable[&i]/LineHeader")
endfor
?
xquery_close()
And the output...
Bookmarks