Constant xml::namespace::NS_NO_PREFIX
source · pub const NS_NO_PREFIX: &str = "";
Expand description
Designates the absence of prefix in a qualified name.
This constant should be used to define or query default namespace which should be used for element or attribute names without prefix. For example, if a namespace mapping at a particular point in the document contains correspondence like
NS_NO_PREFIX --> urn:some:namespace
then all names declared without an explicit prefix urn:some:namespace
is assumed as
a namespace URI.
By default empty prefix corresponds to absence of namespace, but this can change either when writing an XML document (manually) or when reading an XML document (based on namespace declarations).