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

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

TypeScript (component) library for building and parsing a DOCX file
Go to Latest
function create
import { create } from "https://deno.land/x/docxml@5.11.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