XMLCoder Documentation

Enumeration XMLEncoder.​Node​Encoding

public enum NodeEncoding  

A node's encoding type. Specifies how a node will be encoded.

Member Of

XMLEncoder

XMLEncoder facilitates the encoding of Encodable values into XML.

Enumeration Cases

attribute

case attribute

element

case element

both

case both

Properties

`default`

public static let `default`: NodeEncoding = .element