File: table3

package info (click to toggle)
xmlstarlet 1.3.1-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,504 kB
  • sloc: sh: 4,313; ansic: 4,268; xml: 1,886; makefile: 56
file content (6 lines) | stat: -rwxr-xr-x 239 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
#!/bin/sh
# 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