| Syntax |
xml.compile (s, adrTable)
|
| Params |
s is a string containing tagged text.
adrTable is the address of a table that will be built that corresponds to the tagged text.
|
| Action |
Compiles the tagged text into a hierarchical XML database structure.
|
| Returns |
True
|
| Examples |
xml.compile ("<name>John Doe</name>", @scratchpad.testCompile)
true
|
| Notes |
If there's an error in the structure of the tagged text, xml.compile does a scriptError with an explanatory message. As usual you can catch the error by placing the call within a try statement.
XML comments are not stored in the database structure.
|
| See Also |
xml.decompile
The XML-Database page on the Frontier website explains how to write XML applications in Frontier, with sample scripts and screen shots.
|