UNPKG

@openxmldev/linq-to-ooxml

Version:

OOXML Namespace-related Classes for LINQ to XML for TypeScript

27 lines 862 B
/** * @author Thomas Barnekow * @license MIT */ import { XAttribute, XNamespace } from '@openxmldev/linq-to-xml'; /** * Declares XNamespace and XName fields for the `xmlns:dcterms="http://purl.org/dc/terms/"` namespace. */ export class DCTERMS { /** @internal */ constructor() { // Ignore } /** * Returns the namespace declaration `XAttribute` for this namespace. */ static get namespaceDeclaration() { return new XAttribute(XNamespace.xmlns.getName('dcterms'), DCTERMS.dcterms.namespaceName); } } /** * Defines the XML namespace associated with the `dcterms` prefix. */ DCTERMS.dcterms = XNamespace.get('http://purl.org/dc/terms/'); DCTERMS.created = DCTERMS.dcterms.getName('created'); DCTERMS.modified = DCTERMS.dcterms.getName('modified'); //# sourceMappingURL=DCTERMS.js.map