I\'m using DOMDocument to parse an XML (SVG).
Some nodes have attributes with a colon in it, like :
You will need to work with namespaces (which is what the colon indicates) explicitly when you use DOMDocument.
DOMDocument
Take a look at this method: http://www.php.net/manual/en/domelement.getattributenodens.php