github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

petere / plxslt

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 4
    • 2
  • Source
  • Commits
  • Network (2)
  • Issues (0)
  • Downloads (4)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (2)
    • 0.0.1
    • 0.0.0
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

XSLT procedural language for PostgreSQL — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Fix typo 
petere (author)
Tue Sep 01 03:19:33 -0700 2009
commit  54944e72bcf60803380f449eed85263dd16183b1
tree    07a0f3c5c834d4cc2eeee04adcbb92e8073c0ba9
parent  9fccc9ba587226292c4258b965afb1b2c3c73247
plxslt /
name age
history
message
file COPYING Loading commit data...
file INSTALL
file Makefile.am
file README
file configure.ac
file createlang_xslt.sql.in
file plxslt.c
file test.sql
README
PL/XSLT Procedural Language Handler for PostgreSQL
==================================================

PL/XSLT is a procedural language handler for PostgreSQL that allows you
to write stored procedures in XSLT.  A function definition looks like:

CREATE FUNCTION foo(xml) RETURNS xml AS $$
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  ...
</xsl:stylesheet>
$$ LANGUAGE xslt;

Conditions on the function definition:

- The first parameter must be of type xml.  It will receive the input
  document.  Every function must have at least this one parameter.

- The following function parameters will be supplied to the stylesheet
  as XSL parameters.

- The return type must match the output method specified by the
  stylesheet.  If it is xml, then the return type must be xml; if it
  is text or html, the return type must be text or varchar.

- Triggers are not supported.

Refer to the INSTALL file for installation instructions and COPYING
for the license.  The distribution also contains test.sql which
contains a simplistic demonstration of the functionality.

I'm interested if anyone is using this.


Peter Eisentraut
<peter_e@gmx.net>
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server