Function script::dom::bindings::xmlname::validate_and_extract

source ยท
pub fn validate_and_extract(
    namespace: Option<DOMString>,
    qualified_name: &str,
) -> Result<(Namespace, Option<Prefix>, LocalName), Error>
Expand description

Validate a namespace and qualified name and extract their parts. See https://dom.spec.whatwg.org/#validate-and-extract for details.