Created
February 12, 2017 18:18
-
-
Save jlongman/b9d13e39c5969178d71942f266298436 to your computer and use it in GitHub Desktop.
My old blog xmlstarlet extraction method
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xmlstarlet sel -N my=http://www.w3.org/1999/xhtml -t -c "my:html/my:body/my:div[@class='single-post']" -c "my:html/my:body/my:div/my:div/my:ol[@id='comments']" indexfbc5-4.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment