Documentation Language: Swift

Initializer

init(node:at:nameAttr:)

Initialiser to construct a constant from XML

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

Parameters

node

XMLElement to construct this constant from

index

Index within the siblings of the node

nameAttr

Key for the attribute to extract the name property from