Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

TypeScript library for parsing and building a DOCXML file
Go to Latest
method Docx.prototype.withXml
import { Docx } from "https://deno.land/x/docxml@5.1.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