xml2
XPath querying and XSLT
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
xml2 | 1.1 | TYPE | PostgreSQL | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 3990 | xml2 | No | No | No | Yes | No | No | - |
Version
| PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|
| 1.1 | 1.1 | 1.1 | 1.1 | 1.1 |
Install
Note: This is a built-in contrib extension of PostgreSQL
Usage
The xml2 extension provides XPath querying and XSLT transformation functions for XML documents. Note: this module is deprecated in favor of the core SQL/XML functionality.
XML Validation
XPath Query Functions
xpath_table Function
Evaluate multiple XPath queries across a set of documents:
Parameters:
- Key field name (first output column)
- XML document field name
- Table/view name
- XPath expressions separated by
| - WHERE clause (use
'true'for all rows)
XSLT Transformation
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)