KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Note: Getting an XML Element's Depth
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: January 9, 2007
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

The 4th Dimension DOM commands do not include a function to return a node's level. Fortunately, this feature is easy to add using the DOM Get parent XML element command. This technical note describes the necessary code and includes a sample database with the method implemented.

Download Complete Tech Note and Example: Windows | Mac