Parses the given XML string and returns an XmlDocument instance representing the document tree.
XmlDocument
import { parseXml } from '@rgrove/parse-xml';let doc = parseXml('<kittens fuzzy="yes">I like fuzzy kittens.</kittens>');
XML string to parse.
Optional
Parser options.
Generated using TypeDoc
Parses the given XML string and returns an
XmlDocument
instance representing the document tree.Example