In a SWF there’s the following Meta Data:
<rdf:RDF xmlns:rdf=’http://www.w3.org/1999/02/22-rdf-syntax-ns#’>
<rdf:Description rdf:about=’’ xmlns:dc=’http://purl.org/dc/1.1’>
dc:titleSimple Title</dc:title>
dc:descriptionMY_METADATA:hello=test</dc:description>
</rdf:Description>
</rdf:RDF>
When I put all this into a String and create a XmlDocument from that String, I get a valid XmlElement pointer by using
myXmlDocument.getDocumentElement();
After having obtained the pointer, xmlElement->getTagName() returns “rdf:RDF” which is correct.
I should now also be able to get the name of the first attribute by calling xmlElement->getAttributeName(0), but this fails. I also tried without the # after ns.
Why does it fail?