NodeSet
public class NodeSet: SequenceType
An enumerable set of XML nodes
-
Empty node set
Declaration
Swift
public static let emptySet = XPathNodeSet(cXPath: nil, document: nil)
-
XMLElement Generator for SequenceType Protocol
Declaration
Swift
public typealias Generator = AnyGenerator<XMLElement>
-
generate method for SequenceType Protocol
Declaration
Swift
public func generate() -> Generator
Return Value
generator
-
Number of nodes
Declaration
Swift
public private(set) lazy var count: Int =
-
First Element
Declaration
Swift
public var first: XMLElement?
-
if nodeset is empty
Declaration
Swift
public var isEmpty: Bool