Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/docxml/src/util/dom.ts

An experimental Deno tool to transform XML to DOCX with a little XPath- and component based configuration
Go to Latest
import * as docxml from "https://deno.land/x/docxml@1.5.0/src/util/dom.ts";

Variables

A helper object containing the "Q{https://…}" notation of each namespace. Makes writing queries a lot less verbose.

Functions

PArse an XML string to DOM using Slimdom's own parser function, but with the "standard" typing that Deno has for Node and Document.

Serialize an XML node to string using Slimdom's own serializer function, but with the "standard" typing that Deno has for Node and Document.