Documentation Language: Swift

Initializer

init(node:at:nameAttr:)

XML Element initialser

init(node: XMLElement, at index: Int, nameAttr: String = "name")

Parameters

node

XMLElement to construct this Thing from

index

Index within the siblings of the node

nameAttr

Key for the attribute to extract the name property from