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
1
vote
0 answers
Gem dependency lib error (headers)
So, I'm trying to install libxslt-ruby (http://rubydoc.info/gems/libxslt-ruby/1.0.8/frames)
so that I can use the word_parsing gem (http://rubygems.org/gems/word_parsing), but I'm getting an error that says I don't have some of the required lib…

NullVoxPopuli
- 61,906
- 73
- 206
- 352
1
vote
1 answer
Perl LibXLST failing on Mac OS Big Sur 11.4
I'm having trouble with a Perl application that fails with an LibXSLT-related error on Mac OS Big Sur 11.4 on multiple computers (all Intel Macs) - it worked correctly before the Mac OS upgrade, and now seems to fail on a freshly installed up-to…

Peteris
- 3,281
- 2
- 25
- 40
1
vote
1 answer
C program to filter elements of type anyURI from string XML using XSLT
I have a XML string, I want to apply XSLT string on this XML to filter elements of type anyURI.
I am interested to use libxslt. But It transforms the xml present in file. I want to transform xml string.
How to write a C program to transform this…

Achaius
- 5,904
- 21
- 65
- 122
1
vote
2 answers
xslt nested select from xml node value
I've already reviewed some of the other posts regarding nested selects and don't believe that they address my use case. Essentially I am trying to create a user account in another system through a web service and need to pass a Login ID that…

David W.
- 365
- 5
- 5
1
vote
0 answers
Install Nokogiri on Windows w/ System Libraries
I am attempting to install Nokogiri 1.7.1 on a 64-bit windows machine without internet capabilities. I downloaded the Nokogiri gem and the necessary libraries (libxml2, libxslt, iconv, zlib) and transferred them to the internet-less machine. I am…

genghiskhan
- 1,095
- 12
- 21
1
vote
1 answer
passing configure options to rake gems:build
On the server (where I am not root), I have compiled libxslt into /home/foo/sw.
So I can install my gem like so:
gem install nokogiri -- --with-xslt-dir=/home/foo/sw
However, this same technique doesn't work with rake:
$ rake gems:build --…

Paul Schreiber
- 12,531
- 4
- 41
- 63
1
vote
3 answers
How to calculate max string-length of a node-set?
I am trying to use XSLT to turn an XML document into plain text tables for human consumption. I am using xsltproc, which only implements XSLT 1.0 (so max is from EXSLT actually).
I tried the below, but the commented-out definition fails because…

o11c
- 15,265
- 4
- 50
- 75
1
vote
1 answer
libxslt: compilation errors
I'm using libxslt on iOS, and I'm getting compilation errors from what should be straightforward xslt, such as:
compilation error: file…

Colin
- 3,670
- 1
- 25
- 36
1
vote
2 answers
cpan XML::LibXSLT failed to install
i tried installing the perl module XML::LibXSLT but it fails. googled for it for hours now but nothing help so i am posting this. Maybe someone can help!
Thanks in advance!
cpan XML::LibXSLT
CPAN: Storable loaded ok (v2.20)
Going to read…

Phil S.
- 190
- 1
- 3
- 11
1
vote
0 answers
Python libxml2/ libxslt unlinkNode from transformed result produces memory-leak
i've tried to transform an XML with libxslt and then unlink a Node from the transformed result, but i getting a memory exception. (I know that i can convert the xslt transformed result to a string and then parse it again to a document, but i need to…

user1021793
- 213
- 1
- 2
- 5
1
vote
2 answers
Python, libxslt and finding objects in the default namespace
I've been having a terrible time finding any examples of XSTL processing with the python libxml2 library and XSLT. I have a set of legacy documents with a default namespace, and I've been trying convert them into something I can import into a…

Elf Sternberg
- 16,129
- 6
- 60
- 68
1
vote
1 answer
Could not open file perl
I am trying to convert a plist files into a JUnit style XMLs. I have a xsl stylesheet which converts the plist to JUnit/ANT XML.
Here is the perl code which I run to convert the plist to XML:
my $parser = XML::LibXML->new();
my $xslt =…

stackErr
- 4,130
- 3
- 24
- 48
1
vote
1 answer
how to use exsl:node-set from nodejs/node_xslt?
I am trying to use EXSLT node-set function from nodejs via node_xslt module. This is a simple wrapper around the libxslt library that has support for EXSLT as I could get it. Yet any reference to exsl:node-set produces
Thi is how I use it.
…

Peter Aron Zentai
- 11,482
- 5
- 41
- 71
1
vote
1 answer
Applying entities in included XSLT documents causes error
I have an XSL stylesheet with entity definition in it:
entities.dtd contains only one definition:
If I use © in the document having the DOCTYPE declaration, everything…

Rodion Baskakov
- 636
- 4
- 14
1
vote
1 answer
Is there a way to call externals from an xsl stylesheet?
I very often use the document() xslt function to access an external XML file and use that in the transformation. If I provide a URL within the function I can also access RESTfull web service from the xslt and use the XML this service returns in my…

PetervanBoheemen
- 41
- 4