Close

Using xmllint inside bash scripts to read xml files

xmllint –xpath “string(//channel/item/link)” test.xml

xmllint –xpath “string(//channel/item/*[name()=’content:encoded’])” test.xml