Structure
XMLEncoder.OutputFormatting
public struct OutputFormatting: OptionSet
The formatting of the output XML data.
Relationships
Member Of
XMLEncoder
XMLEncoder
facilitates the encoding ofEncodable
values into XML.
Conforms To
OptionSet
Initializers
init(rawValue:)
public init(rawValue: UInt)
Creates an OutputFormatting value with the given raw value.
Properties
noEmptyElements
public static let noEmptyElements
Produce XML with no short-hand annotation for empty elements, e.g., use <p></p>
over </p>