Guest User

Untitled

a guest
Mar 21st, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. xmlstarlet sel -t -v '//email' demofilename.xml
  2.  
  3. myfilepath=/root/demofilename.xml
  4. xmlstarlet sel -t -v '//email' $myfilepath
  5.  
  6. *Wherever file name mentioned in command help it is assumed
  7. that URL can be used instead as well.
  8.  
  9. Type: xmlstarlet <command> --help <ENTER> for command help*
  10.  
  11.  
  12. xmlstarlet --version
  13. 1.6.1
  14. compiled against libxml2 2.9.4, linked with 20904
  15. compiled against libxslt 1.1.29, linked with 10129
Add Comment
Please, Sign In to add comment