table.xmlToTable

Syntax table.xmlToTable (xmltext, adrtable=nil)

Params xmltext is XML-formatted text conforming to this specification.

adrtable is the destination address for the table. If not specified, then the value of the address attribute of the top <table> element is used.

Action Parses the XML text, turning it into a table object.

Returns true

Example table.xmlToTable ("<table name=\"myTable\" address=\"workspace.myTable\"><string name=\"myString\" value=\"This is a string.\"/></table>")


   » true

This example creates a table at workspace.myTable, which contains a string named myString, whose value is "This is a string.".

Notes If adrtable is not specified, and there is no address attribute on the top-level <table> element, an error is generated.

This verb is implemented in script.

See Also table.tableToXml

Discuss