# 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