Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ulixee
GitHub Repository: ulixee/secret-agent
Path: blob/main/website/awaited-dom/DOMParser.md
1028 views

AwaitedDOM / DOMParser

The DOMParser interface provides the ability to parse XML or HTML source code from a string into a DOM Document.

Methods

.parseFromString*(str, type)*
W3C {#parseFromString}

Parse XML from a string

Arguments:

  • str string. Needs content.

  • type SupportedType. Needs content.

Returns: SuperDocument