nokogiri
An HTML, XML, SAX, and Reader parser. tldr-pages
On several platforms
Several platforms
Parse the contents of a URL or file
nokogiri urlIdentifyParse as a specific type
nokogiri url --type xmlIdentifyLoad a specific initialization file before parsing
nokogiri url -C path/to/config_fileIdentifyParse using a specific encoding
nokogiri url --encoding encodingIdentifyValidate using a RELAX NG file
nokogiri url --rng urlIdentify