Element
XML Element class
-
Undocumented
Declaration
Swift
public init(name: String, stringValue: String? = nil) -
initialise XML.Element from xml data
Declaration
Swift
public init(xmlData: Data) throws -
initialise XML.Element from xml string
Declaration
Swift
convenience public init(xmlString: String) throws -
return children XML elements
Declaration
Swift
public func elements(forName: String) -> [XML.Element] -
return child text nodes all concatenated together
Declaration
Swift
public override var stringValue: String? { get set } -
return formatted XML
Declaration
Swift
override public var xmlString: String { get }
View on GitHub
Element Class Reference