recordXML2File
Read data values from XML file (utilizing XPath expressions)
Extends from Interfaces.XML2.Base (Interface for XML2 file).
Information
Record that wraps the external object ExternXML2File and the XML2 read functions for data access of XML files.
See Examples.XML2Test for an example.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | fileName | "" | File where external data is stored |
| String[:,2] | nameSpace | fill("", 0, 2) | XML name spaces (prefix = first column; e.g., nameSpace = ["prefix", "url"]) |
| Types.ExternXML2File | xml | Types.ExternXML2File(fileName, nameSpace, verboseRead, detectMissingData) | External XML2 file object |
| Diagnostics | |||
| Boolean | verboseRead | true | = true, if info message that file is loading is to be printed |
| Types.Diagnostics | detectMissingData | Types.Diagnostics.Warning | Print diagnostic message in case of missing data |