Why does xmlstarlet say there's no 'ends-with' function?
I'm using xmlstarlet to extract changeSet nodes from a liquibase XML changelog where the viewName ends with "v". However, xmlstarlet is complaining that the ends-with XPATH function does not exist: $ xmlstarlet sel -N x="http://www.liquibase.org/xml/ns/dbchangelog" -t -m \ "/x:databaseChangeLog/x:changeSet[x:createView[ends-with(@viewName, 'v')]]" \ -c . public.db.changelog.xml xmlXPathCompOpEval: function ends-with not found Unregistered function Stack usage errror xmlXPathCompiledEval: 3 objects left on the stack. runtime error: element for-each Failed to evaluate the 'select' expression.