QNameSerializer
Serializer for QNames that allows writing in XML context to be as prefix:localPart where the namespace declaration is added when needed.
As this serializer introduces content dependent namespaces that will cause for two-pass serialization if isCollectingNSAttributes is true.
Functions
Link copied to clipboard
Deserialize as struct
Link copied to clipboard
Link copied to clipboard
open override fun serializeXML(encoder: Encoder, output: XmlWriter, value: QName, isValueChild: Boolean)
Serialize a QName as CName by writing a namespace attribute if needed. The prefix is used as hint only.
