XmlStarlet UG on “Studying Structure of XML Document” – “xmlstarlet elements …”

I really like “xmlstarlet elements …” – but these very nice and useful XPath expressions come without index. So what if you really, really need them with indexes? I am not sure, you can write a general utility, that rewrites these XPath expressions without index into XPath expressions with index, but for my Jenkins CI context I created a utility (jenkins_xpath_el2eli.pl), that does some limited rewriting of that kind.


Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.