Questions tagged [libxslt]

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).

110 questions
3
votes
1 answer

"undefined symbol: __xmlStructuredErrorContext" importing etree from lxml

>>> import lxml >>> from lxml import etree Traceback (most recent call last): File "", line 1, in ImportError: /usr/local/lib/python3.4/site-packages/lxml/etree.cpython-34m.so: undefined symbol: __xmlStructuredErrorContext i do…
3
votes
1 answer

XSLT 1 Plain Text Spacing

Using Perl's XML::LibXSLT necessitates that I use XSLT 1.0, which means that I am stuck without XSLT 2.0 features. Is there a way that I can still pad text cleanly in a plain-text output from my processing? What I want is:
justkt
  • 14,610
  • 8
  • 42
  • 62
3
votes
1 answer

Capture my program's stderr output in Qt

I am writing a Qt GUI application that uses the libxslt library. libxslt always prints errors to stderr, but in certain cases it would be helpful for the user to see those messages displayed. Is there a way to capture the stderr output and put it in…
adam.baker
  • 1,447
  • 1
  • 14
  • 30
3
votes
2 answers

How to install libxslt on windows7?

When I want to install lxml,it says: make sure the development packages of libxml2 and libxslt are installed So I have installed libxml2 and has download libxslt. But I don't know how to install it. I can't show the image. These are files in the…
user3016644
  • 45
  • 1
  • 5
3
votes
4 answers

How do I install libXSLT for Perl's XML::LibXSLT?

When I run a Perl script I get Can't locate XML/LibXSLT.pm in @INC So I try doing this in cpan: cpan> install XML::LibXSLT CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Fri, 02 Oct 2009 13:28:24…
An employee
  • 6,188
  • 9
  • 33
  • 43
2
votes
1 answer

Alternative XSLT processor to Apache Xalan

I am currently using the Apache Xalan XSLT processor in my Java application, but I would like to use some alternative solution which supports use of extension functions. Xalan seems to be out of date and buggy. I know of Saxonixa Saxon, but it is…
mstaal
  • 590
  • 9
  • 25
2
votes
1 answer

Different XSLT processing result compared with xsltproc

I'm doing XSLT processing with libxslt(plus libxml2, libexslt). First, I did my XSLT processing with xsltproc using an XML input file like below and using MS Office's XSL file(APASixthEditionOfficeOnline.xsl). You can see the XML output like below.…
BcFlower
  • 25
  • 3
2
votes
0 answers

AWS EB libxml2 and libxslt error

As some background, I am running macOS, and am deploying Python apps to AWS Elastic Beanstalk (EB). My app does not require libxml2-devel or libxslt-devel to run on locally, but when pushed to Amazon EC2, both libxml2-devel and libxslt-devel for…
Fireycold
  • 21
  • 2
2
votes
1 answer

Perl archname for CPAN modules

Consider this CPAN Tester Matrix Report for OSX. Sometimes archname is darwin-2level,sometimes its darwin-thread-multi-2level. I understand that it refers to if you are using Perl compiled with -Dusethreads flag or not. 1) But does that also…
Recker
  • 1,915
  • 25
  • 55
2
votes
1 answer

Can not import libxml2 and libxslt in Python 2.7 and CentOS 7

Can not import libxml2 and libxslt in Python 2.7 and CentOS 7. But system says that these packages are installed: Package libxml2-2.9.1-5.el7_1.2.x86_64 already installed and latest version Package libxml2-devel-2.9.1-5.el7_1.2.x86_64 already…
Vivek Sable
  • 9,938
  • 3
  • 40
  • 56
2
votes
1 answer

Building libxslt for iPhone

I just had an app rejected for linking to libxslt using this technique. I'd really like to use XSLT in my app, so it looks like my only shot is to compile it myself. I don't want to use a UIWebView because I want to store the resulting HTML, not…
Ford
  • 1,485
  • 3
  • 14
  • 20
2
votes
1 answer

CMake integer comparison not working

I am trying to use CMake to check whether the system has xsltproc installed, and that it comes from libxslt version 1.1.27 or higher. (There's a bug in earlier versions that I don't want to work around.) When you run xsltproc --version, you get…
Warren Young
  • 40,875
  • 8
  • 85
  • 101
2
votes
2 answers

Generate a breadcrumb trail with xsl from a node structure

I have difficulties to write a template that generates a breadcrumb trial out of a node structure. It is not working correctly up to now, there is some flaw in my thinking how it should walk the item path. Consider the following page structure: