KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Note: The XML_Utilities Component
PRODUCT: 4D | VERSION: 2003.3 | PLATFORM: Mac & Win
Published On: May 27, 2004

4th Dimension 2003 XML commands support parsing and validating XML, navigating XML trees, and extracting XML element values and attributes. This technical note describes a component that adds some convenient utilities to 4th Dimension 2003’s native commands: xutil_CountOccurrences, xutil_ElementExists, xutil_GetValue, xutil_StripWhitespace.

Apart from providing useful functionality, the code in the XML_Utilities component provides examples of how to work with 4th Dimension 2003’s XML commands. The methods are included both as a source-code database for direct review and revision, and as a component that can be installed with 4D Insider. This technical note first explains the basic modes of operation used by the code and then provides examples
and documentations of each function.

Download Complete Tech Note & Example: Windows | Mac