in reply to Extracting Xpths from XML schema

xml files don't have lists of xpaths :)

See XML::XPath - node-to-xpath reverse lookup