XML - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: XML (/showthread.php?tid=3043) |
XML - tomnord - 02.12.2020 Hi. How would one go about extracting data from an XML like this? Code: String: <?xml version=”1.0″ encoding=”UTF-8″?><sbn_rd xmlns=”http://www.ibsiberia.com/schemas/sbn_rd” version=”1″><event id=”1476139372″ protocol=”CID”><account>2034</account><code>E130</code><zone>1</zone><area>1</area></event></sbn_rd> RE: XML - admin - 03.12.2020 Use this: Code: function starttag(p, tag, attrs) It will produce a table containing all the event data: Code: * table: |