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

x/docxml/src/classes/XmlFile.ts>XmlFile#toNode

An experimental Deno tool to transform XML to DOCX with a little XPath- and component based configuration
Go to Latest
method XmlFile.prototype.toNode
import { XmlFile } from "https://deno.land/x/docxml@1.5.0/src/classes/XmlFile.ts";

Create a (slimdom) Document DOM for this XML file. This is useful for serializing it to string and writing to a ZIP/DOCX archive later.

Returns

Document