Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

DocumentFragment

mattt edited this page May 5, 2021 · 3 revisions

DocumentFragment

public final class DocumentFragment: Node 

Inheritance

Node

Initializers

init()

public convenience init() 

init?(rawValue:)

public required init?(rawValue: UnsafeMutableRawPointer) 

init(children:)

public convenience init(@DOMBuilder children builder: () -> Node) 

init?(string:options:)

public convenience init?(string: String, options: Parser.Options = [.suppressWarnings, .suppressErrors, .relaxed]) throws 

init?(string:options:)

public convenience init?(string: String, options: Parser.Options = [.suppressWarnings, .suppressErrors, .relaxed]) throws 

Methods

insert(child:)

public func insert(child node: Node) 

search(xpath:)

public func search(xpath: XPath.Expression) -> [Element] 

evaluate(xpath:)

public func evaluate(xpath: XPath.Expression) -> XPath.Object? 

search(xpath:)

public func search(xpath: XPath.Expression) -> [Element] 

evaluate(xpath:)

public func evaluate(xpath: XPath.Expression) -> XPath.Object? 
Types
Protocols
Global Functions
Extensions
Clone this wiki locally