Skip to main content
Module

x/docxml/src/utilities/dom.ts>parse

An experimental Deno tool to transform XML to DOCX with a little XPath- and component based configuration
Go to Latest
function parse
import { parse } from "https://deno.land/x/docxml@2.0.1/src/utilities/dom.ts";

Parse an XML string to DOM using Slimdom's own parser function, but with the "standard" typing that Deno has for Node and Document -- so that type matching is not complicated further down the line.

Parameters

xml: string