3 ms·
XPath expressions are actually pretty cool (and I say this as not a great fan of XML in general). The ability to search and select elements is something we use
by rwmj 10y ago
XPath expressions are actually pretty cool (and I say this as not a great fan of XML in general). The ability to search and select elements is something we use all the time. For many examples, search for "xpath_" in https://github.com/libguestfs/libguestfs/blob/master/v2v/input_libvirtxml.ml#L52 https://github.com/libguestfs/libguestfs/blob/master/v2v/inp...
- glippiglop 10y agoI'd drink to that, XPath is incredibly useful and easily mastered. I'm also fond of XSD and XSLT myself. They can be obtuse at times, but have been indispensable in the use cases that I've needed them for.