Efficient XML Processing is non-trivial.
Many specifications are about getting XML to the "doorstep" of your application.
They aren't about how you process them component by component.
There are lots of component specifications:
XML Schema
XSLT, XPath, XML Query
XPointer, XLink
XML Base, XInclude
SOAP
etc.