How are expanded names represented?
There is no standard way to represent a expanded name. However, three representations are common. The first representation keeps the XML namespace name and the local name separate. For example, many DOM Level 1 implementations have different methods for returning the XML namespace name and the local name of an element or attribute node. The second representation concatenates the namespace name and the local name with caret (^). The result is a universally unique (see question 12.16) name, since carets are not allowed in URI references or local names. This is the method used by John Cowan’s Namespace SAX Filter, which was written to handle XML namespaces in SAX 1.0. For example, the expanded name that has the URI reference http://www.tu-darmstadt.
There is no standard way to represent a expanded name. However, three representations are common. The first representation keeps the XML namespace name and the local name separate. For example, many DOM Level 1 implementations have different methods for returning the XML namespace name and the local name of an element or attribute node. The second representation concatenates the namespace name and the local name with caret (^). The result is a universally unique (see question 12.16) name, since carets are not allowed in URI references or local names. This is the method used by John Cowan’s Namespace SAX Filter, which was written to handle XML namespaces in SAX 1.0.