O__XMLgetData
Purpose: Get a specific data point in an XML tree.
Type: Server-side function
Inputs:
- $O__XMLTree: The XML tree object to be used.
- $O__path: The path to the data point element.
Outputs: The value of a specific data point.
Use Case: When an XML file stores settings, this can be used to read those specific settings.
Examples:
- Read a specific element's content: $myDataPoint = O__XMLgetData($myXMLtree,"/settings/setting[@id='maxPineapples']/value");
Version Documented: 20181006