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

x/docxml/src/utilities/dom.ts>create

TypeScript (component) library for building and parsing a DOCX file
Latest
function create
import { create } from "https://deno.land/x/docxml@5.15.3/src/utilities/dom.ts";

Create a new XML DOM node using XQuery.

Parameters

query: string
optional
variables: UnknownObject
optional
asDocument: false

Create a new XML DOM element using XQuery, and return it as a Document.

Parameters

query: string
variables: UnknownObject
asDocument: true

Returns

Document