Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3781882
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T11:00:18+00:00 2026-05-19T11:00:18+00:00

Is this possible? If so how? I have looked at Libxslt which is what

  • 0

Is this possible? If so how?

I have looked at Libxslt which is what it uses but it seems to involve installing a bunch of binaries and still will not be available as PostgreSQL function…

UPDATE: I ended up having problems using xlst_process() on large transformations which caused PostgreSQL to crash and ended up using FOP invoked by a plpythonu function.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T11:00:19+00:00Added an answer on May 19, 2026 at 11:00 am

    xslt_process() requires Libxml to be installed, available (by adding Windows PATH Environment variables) and the xslt_process() function to be created

    Solution:

    1. Download and extract the zip: libxslt-1.1.26.win32.zip from ftp://ftp.zlatkovic.com/libxml/ to place on your dirve
    2. Add the location of xsltproc.exe to your Windows PATH environment varible such as: “C:\libxml\libxslt-1.1.26.win32\bin”. You will know this is working when you can run it from the cmd line.
    3. libxml2.dll, libxslt.dll and iconv.dll which are also required by xsltproc.exe (they can downloaded using the above link but I found them to already be in my PostgreSQL\8.4\bin dir) and need to have their location added to the Windows PATH too, such as: “C:\PostgreSQL\8.4\bin”
    4. Run the SQL (which I copied from the bottom of “PostgreSQL\8.4\share\contrib\pgxml.sql”):
      CREATE OR REPLACE FUNCTION xslt_process(text,text,text)
      RETURNS text
      AS '$libdir/pgxml'
      LANGUAGE C STRICT VOLATILE;
      
      -- the function checks for the correct argument count
      
      CREATE OR REPLACE FUNCTION xslt_process(text,text)
      RETURNS text
      AS '$libdir/pgxml'
      LANGUAGE C STRICT IMMUTABLE;
        

    The Libxml windows binaries are helpfully maintained and provided by: http://www.zlatkovic.com/libxml.en.html

    (NOTE: Windows User enviroment varibles do not require a restart but are only avaliable to the user, so my tip is add the varibles to System and User PATH’s)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is this possible? We have WinForms (CF) apps which use the EMDK, and would
I have looked at this question which has been suggested as a duplicate: Make
I know some basic SQL, but this one is beyond me. I have looked
I have looked over other questions on this website, but am yet to find
I have looked through as many previous questions as possible but never saw a
Disclaimer: I have looked through this question and this question but they both got
I have looked everywhere, but have not found a solution for this issue. I
Is this possible to have two (or more) different kinds of cells to be
Is something like this possible: I have a flash animation of a glowing orb.
Is this possible? I have a solution with both projects, I just want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.