next up previous contents index
Next: 9.3.4 DTD-Handling Up: 9.3.3 XML documents Previous: 9.3.3 XML documents   Contents   Index


9.3.3.1 XML Namespaces

Using the dialect xmlns, the parser will recognize XML namespace prefixes. In this case, the names of elements are returned as a term of the format

URL:LocalName

If an identifier has no namespace prefix and there is no default namespace, it is returned as a simple atom. If an identifier has a namespace prefix but this prefix is undeclared, the namespace prefix rather than the related URL is returned.

Attributes declaring namespaces (xmlns:ns=url) are represented in the translation as regular attributes.



Terrance Swift 2007-10-06