Skip to content

postxml

XML and XSLT transformation helpers for building hypermedia documents in PostgreSQL.

postxml · XML and XSLT transformation helpers for building hypermedia documents in PostgreSQL.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101951postxmlpostxml1.0UTILC

PostgreSQL · 16

Usage

Sources:

postxml XML and XSLT transformation helpers for building hypermedia documents in PostgreSQL.

Enablement

Install the files for the intended server, then create postxml in the target database:

CREATE EXTENSION postxml;

Core Workflow

The following example is taken from the reviewed upstream documentation. Adapt object names, paths, credentials, and workload values before use.

SELECT postxml.xml_docs_equal('<a/>'::xml, '<a/>'::xml);

Main Objects

The reviewed install surface includes these prominent objects:

ObjectKindOperational role
postxml.init_xsdFUNCTIONCallable function from the reviewed install surface.
postxml.read_textFUNCTIONCallable function from the reviewed install surface.
postxml.xml_docs_equalFUNCTIONCallable function from the reviewed install surface.
postxml.xsd_schemasTABLEExtension-owned table; account for its data in backup and upgrades.
postxml.xsd_validateFUNCTIONCallable function from the reviewed install surface.
postxml.xsd_validate_nameFUNCTIONCallable function from the reviewed install surface.
postxml.xsl_transformFUNCTIONCallable function from the reviewed install surface.
postxml.xsl_transform_nameFUNCTIONCallable function from the reviewed install surface.

Operations and Boundaries

  • The verified PostgreSQL-major evidence covers 16; do not infer unlisted majors.

Table reader