element(withName:stringValue:)

create XML element node

XML.swift:54
static func element(withName: String, stringValue: String? = nil) -> XML.Node