Open Instance Methodscinfu.swiftsoup 2.8.7SwiftSoup
normalizeAttributes(_:)
ParseSettings.swift:58func normalizeAttributes(_ attributes: Attributes) throws -> Attributes
func normalizeAttributes(_ attributes: Attributes) throws -> Attributes
s9SwiftSoup13ParseSettingsC19normalizeAttributesyAA0F0CAFKF
What are these?78YYS
import SwiftSoup
class ParseSettings
class Attributes
The attributes of an Element.
init(_ tag: Bool, _ attribute: Bool)
Define parse settings.
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 normalizeTag(_ name: String) -> String
func normalizeTag(_ name: [UInt8]) -> [UInt8]