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
Go to Latest
function create
import { create } from "https://deno.land/x/docxml@5.5.4/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