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

x/docxml/src/Docx.ts>Docx#withXml

TypeScript (component) library for building and parsing a DOCX file
Go to Latest
method Docx.prototype.withXml
import { Docx } from "https://deno.land/x/docxml@5.11.0/src/Docx.ts";

Set the document contents to the provided XML, transformed using the rules previously registered through Docx.withXmlRule.

Parameters

dom: string | Document
props: PropsGeneric