Tech Note: Enhanced Tools for Reading XML Attributes
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: November 29, 2006
XML element's may have any number of attributes, such as the id attribute in the contact element shown below:
<contact id="1">
The DOM (Document Object Model) section of the 4th Dimension language contains three commands for counting and reading XML attributes, listed below:
DOM Count XML attributes
DOM GET XML ATTRIBUTE BY INDEX
DOM GET XML ATTRIBUTE BY NAME
This technical note and the accompanying sample database add a number of enhancements and refinements to these basic commands.
Download Complete Tech Note and Example: Windows | Mac