XMLCoder Documentation

Enumeration XMLDecoder.​Node​Decoding

public enum NodeDecoding  

A node's decoding type

Member Of

XMLDecoder

XMLDecoder facilitates the decoding of XML into semantic Decodable types.

Enumeration Cases

attribute

case attribute

Decodes a node from attributes of form nodeName="value".

element

case element

Decodes a node from elements of form <nodeName>value</nodeName>.

element​OrAttribute

case elementOrAttribute

Decodes a node from either elements of form <nodeName>value</nodeName> or attributes of form nodeName="value", with elements taking priority.