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
0
votes
1 answer
python-docx installation on windows
When I try to install python-docx on my machine, I get errors that I haven't seen in other questions... here's the command prompt code-
C:\windows\system32>pip install python-docx
Collecting python-docx
Using cached…

Vince
- 171
- 1
- 3
- 11
0
votes
2 answers
Wrap everything between two tag occurrences with XSLT 1.0
I want to split an XML (actually, XHTML) document in sections by the top-level h1 tags. Everything starting at the first of up to the next one should be wrapped in
up to the next one should be wrapped in element and so on, until the end of the document.
For example, if I…

drdaeman
- 11,159
- 7
- 59
- 104
0
votes
0 answers
Enable XSL on CentOS?
PHP XSL extension seems to be disabled, because the Magento installation tells me so, but I think I have it installed, since
rpm -qa | grep xsl
shows:
libxslt-1.1.28-5.el7.x86_64
libxslt-devel-1.1.28-5.el7.x86_64
Now, how do I enable it?

Haniver
- 192
- 2
- 12
0
votes
5 answers
How do I include libxslt in my iPhone app?
I've heard that including libxslt.dylib is grounds for getting your app rejected. I don't know how accurate that is.
Nevertheless, I would like to include the latest version of libxslt. I'd like to do the same thing with libxml2, as well as other…

Hilton Campbell
- 6,065
- 3
- 47
- 79
0
votes
1 answer
xslt transform with escape entity
I have an XML and I would like to change the attribute value (name="name") to another one (name="value") with following xslt:

dellair
- 427
- 4
- 22
0
votes
1 answer
lxml runs in interpreter but not through apache/mod_wsgi
I have a django app that requires Python (3.4) lxml package. I had a fair amount of trouble building the c shared libraries libxslt and libxml2 that lxml depends on in my red hat server environment. However, pip install lxml now completes…

Static Void
- 568
- 3
- 8
0
votes
1 answer
xslt transformation removes CDATA
Hi I'm using lib xsltproc to convert a set of old xml, xls files in a current project. When trying to transform my project with the tool I get the following error:
Warning: xmlXPathCompOpEval: function testFunc not found
XPath error : Unregistered…

Pablo Jomer
- 9,870
- 11
- 54
- 102
0
votes
1 answer
Unable to install Nokogiri with dependencies on Redhat Linux
I am using Ruby 1.9.3 and therefore have to use an older version of Nokogiri. I need to install Nokogiri v1.5.10.
Initially I got an error that libxml2 is missing. After installing libxml2 I got the following error:
ERROR: Error installing…

Micheal
- 2,272
- 10
- 49
- 93
0
votes
1 answer
How to catch the exception returned by saxon jar file
Thanks for reviewing my question.
I working with saxon java api as XSLT processor. Getting difficulty to catch the exception return by saxon jar file.
I am able to print the javax exception. But need to get the exception in string returned by…

Deepak singh
- 15
- 5
0
votes
1 answer
XSLT 2 processor for Postgres 9.4.1
I have a requirement to use XSLT 2 for processing XML and convert them to XSL FO for printing downloadable catalogs. I use libxslt and this supports only XSLT 2. Googling for XSLT 2 processors did not provide any open source version for trial. Any…

ravindra
- 11
0
votes
1 answer
PHP and XSLTProcessor Misbehavior
Simple question: Why is a PHP function called from an XSL Stylesheet just returning the last argument passed:
foo.xsl:
PHP:
...
$xsl = new…

Aiden Bell
- 28,212
- 4
- 75
- 119
0
votes
1 answer
Installing libxslt on CentOs 6.5
I am trying to install lxml using pip which gave me errors as libxml2 and libxslt were not installed. I tried installing them using yum. libxml2 was successfully installed but nothing happens when I give sudo yum install libxslt. The output is as…

sandeep
- 195
- 1
- 4
- 14
0
votes
1 answer
xmllint warns about missing space of xslt generated file
When running xmllint on a xml file generated by xsltproc, I get the following error:
xmllint --valid --noout build/docbook/index.xml :(
build/docbook/index.xml:1: parser error : Space needed…

wirrbel
- 3,173
- 3
- 26
- 49
0
votes
1 answer
ValidationException during PDF generation from XML using libxslt
I am using Docbook 1.78 and xsltproc (libxslt 1.1.26 with libxml 2.7.8) in command line to generate a fo-file from an XML file. My aim is to generate a PDF using Apache formatted output processor (fop; version 1.1).
My XML-Input file:

M F
- 323
- 1
- 3
- 15
0
votes
1 answer
libxslt: xml to html text encoding issue iOS
I am using xslt framework to convert xml to html for iOS project.
I am sending the encoded xml to the xslt framework. But the output it gives is not encoded. So when i try to parse the html, i am getting the parser error.
NSString *xml =…

Cintu
- 913
- 2
- 16
- 32