Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

Add all the XML translatiom rules from another set of translation rules. Useful for cloning.

Parameters

renderer: GenericRenderer<RuleResult, { document: OfficeDocument; } & PropsGeneric>