Modernise XML parsing examples with `XML::LibXML`. Show usage of tree/DOM access and XPath querying. Avoid deprecated or outdated tools like XML::DOM.