Initializer
init(node:at:nameAttr:)
Initialiser to construct a constant from XML
init(node: XMLElement, at index: Int, nameAttr: String = "name")
Parameters
node-
XMLElementto construct this constant from index-
Index within the siblings of the
node nameAttr-
Key for the attribute to extract the
nameproperty from