1 Answer
1

TinyXML does not know or care about namespaces. However, that doesn't mean you can't use them. You just have to write namespace declarations like they were regular attributes. So if you want to define the geo namespace, make an attribute named xmlns:geo and give it the value of the namespace. And so forth.

This gives only partial support for XML namespaces. XML namespaces should be inherited by child elements unless the child explicitly overrides its namespace. Also, there won't be support for namespace prefixes, so a declaration of xmlns:foo="http://www.foo/1.0" won't allow for child elements such as <foo:bar>this element is in the http://www.foo/1.0 namespace</foo:bar>
–
NathanJan 9 '14 at 19:32