Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How are expanded names represented?

Expanded names represented
0
Posted

How are expanded names represented?

0

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.

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123