Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/docxml/src/files/OfficeDocument.ts>OfficeDocument.fromArchive

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

Instantiate this class by looking at the DOCX XML for it.

Parameters

archive: Archive
location: string

Returns

Promise<OfficeDocument>