Initializerscinfu.swiftsoup 2.8.7SwiftSoup
init(_:_:_:)
XmlDeclaration.swift:30convenience init(_ name: String, _ baseUri: String, _ isProcessingInstruction: Bool)
convenience init(_ name: String, _ baseUri: String, _ isProcessingInstruction: Bool)
import SwiftSoup
class XmlDeclaration
An XML Declaration.
@frozen struct String
A Unicode string value that is a collection of characters.
@frozen struct Bool
A value type whose instances are either true
or false
.
init(_ name: [UInt8], _ baseUri: [UInt8], _ isProcessingInstruction: Bool)
Create a new XML declaration
override func copy(clone: Node, parent: Node?) -> Node
override func copy(parent: Node?) -> Node
override func copy(with zone: NSZone? = nil) -> Any
func getWholeDeclaration() throws -> String
Get the unencoded XML declaration.
func name() -> String
Get the name of this declaration.
override func nodeName() -> String
override func nodeNameUTF8() -> [UInt8]