XMLMap

public class XMLMap : Sequence, IteratorProtocol

A map of XML document path keys and metadata needed to convert an XML payload into a JSON payload.

Properties

Initializers

Public Methods

  • Declaration

    Swift

    public func next() -> (String, XMLMetadata)?
  • Accept a dot-separated path to get to XML properties. Returns nil if at any point a sub-key is not found.

    Declaration

    Swift

    public subscript(index: String) -> XMLMetadata? { get set }