Skip to main content
Module

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

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