4th Dimension 2004 includes a full suite of commands for reading XML documents using the Document Object Model. Using the built-in DOM features, custom routines can scan through an XML tree to read the names, values, and attributes of each node. While the built-in DOM functions are feature complete, there is still room for some refinements. Accompanying this technical note is a sample database that adds automatic error handling, whitespace cleaning, and new node matching options to the native DOM routines.
This note takes a quick look at the overall enhancements offered by these routines and then documents the behavior and documentation of each method. Within the database, each method is also documented internally and in the DOM Read Me routine. A demonstration screen illustrates the functionality of each behavior.
Download Complete Tech Note and Example: Windows | Mac