Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- xmlstarlet sel -t -v '//email' demofilename.xml
- myfilepath=/root/demofilename.xml
- xmlstarlet sel -t -v '//email' $myfilepath
- *Wherever file name mentioned in command help it is assumed
- that URL can be used instead as well.
- Type: xmlstarlet <command> --help <ENTER> for command help*
- xmlstarlet --version
- 1.6.1
- compiled against libxml2 2.9.4, linked with 20904
- compiled against libxslt 1.1.29, linked with 10129
Add Comment
Please, Sign In to add comment