This repository has been archived by the owner on Oct 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Document
mattt edited this page Apr 7, 2020
·
3 revisions
public final class Document: DOM.Document
Node
, DOM.Document
, DOM.Document
public convenience init?()
public required init?(rawValue: UnsafeMutableRawPointer)
public convenience init?(string: String, baseURL url: URL? = nil, encoding: String.Encoding = .utf8, options: Parser.Options = [.suppressWarnings, .suppressErrors, .relaxed]) throws
public convenience init?(version: String? = nil)
public required init?(rawValue: UnsafeMutableRawPointer)
public convenience init?(string: String, baseURL url: URL? = nil, encoding: String.Encoding = .utf8, options: Parser.Options = [.suppressWarnings, .suppressErrors, .relaxed]) throws
var type: DocumentType?
var version: String?
var encoding: String.Encoding
var root: Element?
var head: Element?
var body: Element?
var title: String?
var description: String
var properties: Properties
var namespaceDefinitions: [Namespace]
var description: String
public func search(xpath: String) -> [Element]
public func evaluate(xpath: String) -> XPath.Object?
public func search(xpath: XPath.Expression) -> [Element]
public func evaluate(xpath: XPath.Expression) -> XPath.Object?
Generated at 2021-10-17T13:07:40+0000 using swift-doc 1.0.0-rc.1.
Types
- CDATA
- Comment
- Context
- DOMBuilder
- Document
- Document.CloningBehavior
- Document.Properties
- DocumentFragment
- DocumentType
- Element
- Element.CloningBehavior
- Error
- Expression
- Namespace
- Namespace.Kind
- Node
- Node.SpacePreservingBehavior
- NodeSet
- Object
- Parser
- Parser.Options
- ProcessingInstruction
- StringBuilder
- Text
Protocols
Global Functions
- `var`(_:children:)
- a(_:children:)
- abbr(_:children:)
- acronym(_:children:)
- address(_:children:)
- area(_:children:)
- b(_:children:)
- base(_:children:)
- bdo(_:children:)
- big(_:children:)
- blockquote(_:children:)
- body(_:children:)
- br(_:children:)
- button(_:children:)
- caption(_:children:)
- cite(_:children:)
- code(_:children:)
- col(_:children:)
- colgroup(_:children:)
- dd(_:children:)
- del(_:children:)
- dfn(_:children:)
- div(_:children:)
- dl(_:children:)
- dt(_:children:)
- em(_:children:)
- fieldset(_:children:)
- form(_:children:)
- h1(_:children:)
- h2(_:children:)
- h3(_:children:)
- h4(_:children:)
- h5(_:children:)
- h6(_:children:)
- head(_:children:)
- hr(_:children:)
- html(_:children:)
- i(_:children:)
- img(_:children:)
- input(_:children:)
- ins(_:children:)
- kbd(_:children:)
- label(_:children:)
- legend(_:children:)
- li(_:children:)
- link(_:children:)
- map(_:children:)
- meta(_:children:)
- noscript(_:children:)
- object(_:children:)
- ol(_:children:)
- optgroup(_:children:)
- option(_:children:)
- p(_:children:)
- param(_:children:)
- pre(_:children:)
- q(_:children:)
- rb(_:children:)
- rbc(_:children:)
- rp(_:children:)
- rt(_:children:)
- rtc(_:children:)
- ruby(_:children:)
- samp(_:children:)
- script(_:children:)
- select(_:children:)
- small(_:children:)
- span(_:children:)
- strong(_:children:)
- style(_:children:)
- sub(_:children:)
- sup(_:children:)
- table(_:children:)
- tag(_:_:_:)
- tbody(_:children:)
- td(_:children:)
- textarea(_:children:)
- tfoot(_:children:)
- th(_:children:)
- thead(_:children:)
- title(_:children:)
- tr(_:children:)
- tt(_:children:)
- ul(_:children:)