Move printNode so it lives with getURL and parseXML
Remove whitespace