My query takes in several xml files, queries them and outputs another single xml file:
xml sel -t -c /Report/Requirements/node() test1.xml test2.xml test3.xml
Where test1, 2 and 3.xml look generally like this:
<?xml version="1.0" encoding="UTF-8"?>
<Report>
<Requirements>
<Requirement>
<id>1</id>...
2009-06-17 17:40:42 UTC in XMLStarlet command line XML toolkit