Initializer
init(node:at:with:nameAttr:)
XML Element initialser
init(node: XMLElement, at index: Int, with type: TypeReference? = nil, nameAttr: String = "name")
Parameters
node-
XMLElementto construct this data type from index-
Index within the siblings of the
node type-
Type reference for the data type (taken from XML if
nil) nameAttr-
Key for the attribute to extract the
nameproperty from