KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Note: Reading XML Made Easy with the XmlTreeWalker
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: July 11, 2007

4th Dimension developers are sometimes reluctant to work with DOM because writing tree navigation code can seem complicated. The XML Tools component documented in Technical Note 07-25 includes a module of routines starting with the string “XmlTreeWalker” that automate scanning a DOM tree. This code effectively flattens the tree and makes it easier to deal with for developers more used to serial data structures, such as arrays, lists, and selections of records. This Technical Note provides additional background information about the XmlTreeWalker system and its use.

As with Technical Note 07-25, this Technical Note includes the XML Tools component, the source code database used to create the component, and an example database that shows many of the component's features at work.

Download Complete Tech Note and Example: Windows | Mac