XdmSerializationSettings.UndeclarePrefixes PropertyXdmSerializationSettings.UndeclarePrefixes PropertyXdmSerializationSettings::UndeclarePrefixes Property
- XmlPrime 1.0
Gets a value indicating whether serializer should undeclare namespaces.
- Namespace: XmlPrime.SerializationXmlPrime.SerializationXmlPrime.Serialization
- Assembly: XmlPrime (in XmlPrime.dll)
Property Value
Type: System.BooleanSystem.BooleanSystem::Boolean
true
True
true
if the serializer should undeclare namespaces; otherwise false
False
false
.
Remarks
This property corresponds to the undeclare-prefixes
serialization parameter.
If UndeclarePrefixesUndeclarePrefixesUndeclarePrefixes is set to true
True
true
, then if an element is serialized whose
parent has namespaces in scope that are not in scope in the element (this can occur when the child element
has been copied from elsewhere), then these namespaces are undeclared, by setting them to ""
.
In HTML and Text output modes this parameter is ignored.