Initializerscinfu.swiftsoup 2.8.7SwiftSoup
init(_:_:)
Define parse settings.
init(_ tag: Bool, _ attribute: Bool)
<param>
<param>
Define parse settings.
init(_ tag: Bool, _ attribute: Bool)
<param>
<param>
import SwiftSoup
class ParseSettings
@frozen struct Bool
A value type whose instances are either true
or false
.
static let htmlDefault: ParseSettings
HTML default settings: both tag and attribute names are lower-cased during parsing.
static let preserveCase: ParseSettings
Preserve both tag and attribute case.
func normalizeAttribute(_ name: String) -> String
func normalizeAttribute(_ name: [UInt8]) -> [UInt8]
func normalizeAttributes(_ attributes: Attributes) throws -> Attributes
func normalizeTag(_ name: String) -> String
func normalizeTag(_ name: [UInt8]) -> [UInt8]