Changes between Version 3 and Version 4 of XPath
- Timestamp:
- 2018-07-02 22:46:03 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
XPath
v3 v4 5 5 6 6 LuaXPath is a utility function that lets you use [http://www.w3.org/TR/xpath XPath] expressions to query a LOM object. In order to use xpath you must add the attached xpath.lua file to your Vera Controller. The easiest way to do this is to upload the file under the develop apps section of the interface. Once uploaded the below sample code can be used to prototype your specific needs. 7 8 ''It should be noted that more complex XPath expressions may not work with this module. Specifically, wildcards that are mid-expression may fail to evaluate. Generally, the XPath expression should terminate with a node, text(), value() or wildcard (*).'' 7 9 8 10 === Sample Code ===