Skip to main content
Module

x/docxml/mod.ts>default#withXml

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

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

Parameters

dom: string | Document
props: PropsGeneric