XML function

$XML allows the user to extract data lists from the XML file. The function has two mandatory parameters:

  1. XML file name1 or resource2 with source data. String.
  2. The path to value list. String.

Limitation: only C++ and .net editions require full path when Java edition uses node name only. Web edition does not support the function yet.

1 - the following macros can be used as a part of the file name: %APPDATA%, %DOCUMENTS%, %USERPROFILE%, %ALLUSERSPROFILE%
2 - http:// or ftp:// prefix is required for web based document access.

Examples

  1. $XML(d:\dg.xml,//XML_DIZ_INFO/MASTER_PAD_VERSION_INFO/MASTER_PAD_VERSION) - C++/C# style
  2. $XML(\\192.168.137.2\C\dg.xml,//XML_DIZ_INFO/MASTER_PAD_VERSION_INFO/MASTER_PAD_VERSION) - uses file from the network share
  3. $XML(d:\dg.xml,MASTER_PAD_VERSION) - Java style.