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