Libxslt is the XSLT C library developed for the GNOME project. It provides an implementation of XSLT 1.0 and common extensions like EXSLT. Libxslt is based on libxml2 (for XML parsing, tree manipulation and XPath support).
Questions tagged [libxslt]
110 questions
17
votes
4 answers
How can I tell what version of libxml2 and libxslt are installed on OS X?
I'm trying to find out what version I currently have installed. OS X Mountain Lion (10.8.2)
Thanks in advance!

Spanky
- 5,608
- 10
- 39
- 45
15
votes
6 answers
libxslt is missing while installing ruby gem nokogiri
I recognize that this is a duplicate question however all the other answers I've found related to this issue have not seemed to help me...
I'm installing GitLab and running through the gem dependencies when it hits the NokoGiri gem requirement and…

sadmicrowave
- 39,964
- 34
- 108
- 180
14
votes
1 answer
Upgrade PHP XSLT processor to XSLT 2.0
Is it possible/easy to upgrade PHP's library to use XSLT 2.0?
Current set up:
xsl
XSL enabled
libxslt Version 1.1.24
libxslt compiled against libxml Version 2.6.32
EXSLT enabled
libexslt Version 1.1.24

Louis W
- 3,166
- 6
- 46
- 76
8
votes
2 answers
./configure: error: the HTTP XSLT module requires the libxml2/libxslt libraries
I recently updated my mac-os to Mojave. I was using Nginx and it was working on my previous os but after updating to Mojave, I am not able to start my Nginx.
So I tried to install it again, first, it gave me c compiler error, So I downloaded the…

Nikhil Dhirmalani
- 127
- 1
- 1
- 7
8
votes
1 answer
XML::LibXSLT fails to install at Heroku
I fail to install XML::LibXSLT on Heroku. It looks like the required libraries gdbm is not installed, despite being listed as installed Ubuntu packages at Heroku stack cedar and cedar-14. Similar problems have been reported in this question but not…

Jakob
- 3,570
- 3
- 36
- 49
7
votes
1 answer
Python3 and xml/xslt libraries
In python 2.6 I did this to achieve an xsl tranform
import libxml2
import libxslt
...
styledoc = libxml2.parseFile(my_xslt_file)
style = libxslt.parseStylesheetDoc(styledoc)
doc = libxml2.parseDoc(siri_response_data)
…

barking.pete
- 191
- 1
- 4
6
votes
1 answer
How to get Regexp from EXSLT working in libxslt?
Has anyone got Regexp working in libxslt? When yes, how?
http://www.exslt.org/regexp/index.html
When using the command xsltproc --dumpextensions with the latest libxslt I'm not getting any Regexp support :-(

therealmarv
- 3,692
- 4
- 24
- 42
6
votes
3 answers
Does libxslt have a feature for splitting a document into multiple documents?
Looks like libxslt does not support XSLT 2.0, and xsl:result-document. Is there a way to mimic xsl:result-document using libxslt, or xsltproc?

Behrang
- 46,888
- 25
- 118
- 160
6
votes
2 answers
libxml2 ImportError when importing etree from lxml
I am trying to run python-docx in Enthought Canopy. I'm running Ubuntu 14.04 on VMWare Worstation 10. Whenever I try to import docx or import etree from lxml, I get an error that seems to be related to the libxml2 library:
ImportError:…

ScottYoung
- 115
- 1
- 2
- 5
5
votes
1 answer
XML::LibXSLT Intermittently Throws Stylesheet Compilation Errors
I have a set of XSLT stylesheets that were working fine previously. Recently, a fellow developer upgraded our Perl to a newer version. Ever since that time, we have been getting intermittent stylesheet compilation errors where EXSLT functions are…

Scott
- 1,223
- 2
- 16
- 35
4
votes
1 answer
PHP : different behaviour of XSLT Processor in Windows WRT to Linux
I've got this php snippet:
$xsltPath = $argv[1];
$xmlPath = $argv[2];
$xslt = file_get_contents($xsltPath);
$xml = file_get_contents($xmlPath);
$templateCMSObj = new \DOMDocument();
$templateCMSObj->loadXML($xslt);
$ekbXMLObj = new…

lbrutti
- 1,181
- 13
- 19
3
votes
0 answers
libxslt compilation error: undefined reference to `xmlXPathContextSetCache'
I am trying to install libxml and libxslt on my Linux machine. I already installed libxml2-2.7.8 in /flocal/apps/libxml2-2.7.8.
When I install libxslt-1.1.26, I get an error. This is the steps I followed while installing libxslt:
sudo ./configure…

user1288954
- 61
- 1
- 2
- 5
3
votes
0 answers
Alternatives to libxslt when moving to node 16
I am trying to update my project to node 16 but one of the libraries I am using is giving issues. Library name is libxslt (https://github.com/albanm/node-libxslt). I don't see it is maintained in a while. Is there any alternative library to use? It…

sunny
- 49
- 1
- 1
- 3
3
votes
1 answer
Test param value type in XSL
I am getting this from LibXSLT:
XSLTProcessor::transformToXml(): Invalid type
XSLTProcessor::transformToXml(): xmlXPathCompiledEval: 1 objects left on the stack.
I am passing a param which can either have a string value or a nodeset. I am trying to…

tmslnz
- 1,801
- 2
- 15
- 24
3
votes
2 answers
Python - convert to ?
I'm using libxml2 and libxslt to process XML files. The return value is of type instance but I need to have a UTF-8 static string.
styledoc = libxml2.parseFile(style_file)
style = libxslt.parseStylesheetDoc(styledoc)
doc =…

Marlon
- 35
- 1
- 5