File: table3

package info (click to toggle)
xmlstarlet 1.0.0-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,036 kB
  • ctags: 383
  • sloc: ansic: 4,500; sh: 3,109; xml: 1,821; makefile: 95
file content (5 lines) | stat: -rwxr-xr-x 229 bytes parent folder | download | duplicates (3)
1
2
3
4
5
# Generate plain text table from XML document
./xmlstarlet sel -T \
    -t -o "===================" -n \
       -m xml/table/rec -v "concat(@id,'|',numField,'|',stringField)" -n \
    -t -o "===================" -n xml/table.xml