File: look1

package info (click to toggle)
xmlstarlet 1.0.2-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,280 kB
  • ctags: 496
  • sloc: ansic: 4,596; sh: 4,027; xml: 1,858; makefile: 99
file content (2 lines) | stat: -rwxr-xr-x 144 bytes parent folder | download | duplicates (3)
1
2
# Select text value of an XML element mathing given XPath expression
./xmlstarlet sel -t -m "/xml/table/rec[@id='2']" -v numField xml/table.xml