1 2 3 4 5 6 7 8
#!/bin/bash xmlstarlet sel -t \ -m "/libnltags/libnltag[@href]" \ -v "@short" \ -o "=api/" \ -v "@href" \ -n