XPath and Vera

OK so I am in the middle of my first plugin. It interfaces with the Autelis Pool Control for Pentair Intelli/EasyTouch. I seem to have gone down a rabbit hole with the XML response from the device. I am trying to use lxp and xpath but whenever I require xpath it causes my module to fail. Do the xpath libraries exist or does everyone simply perform an lxp.parse and crank through the dom using brute force?

When I wrote the WeMo plugin, I had to (as you put it) crank the XML. I believe that this is your only option. It’s actually not too hard once you grok the way lxp parses the XML, and if you are comfortable with Lua lambdas. Take a look at the fake XPath code I wrote in the WeMo plugin on code.mios.com for sample code.

Thanks futzle. I kinda figured that. I’m sure I can figure out the lua.