xmlint

Parsing and formatting XML

Format and read a large xml file with all the data on one line

xmllint --format largefile.xml  | less
xmllint --xpath //screenSizeInch largefile.xml