XMLCoder Documentation

Enumeration XMLEncoder.​String​Encoding​Strategy

public enum StringEncodingStrategy  

The strategy to use for encoding String values.

Member Of

XMLEncoder

XMLEncoder facilitates the encoding of Encodable values into XML.

Enumeration Cases

deferred​ToString

case deferredToString

Defer to String for choosing an encoding. This is the default strategy.

cdata

case cdata

Encode the String as a CData-encoded string.