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
0
votes
1 answer

xmlSecInit() prints assertion failure to stderr (g_xslt_default_security_prefs == NULL)

I have some code that is very similar to the example at http://www.aleksey.com/xmlsec/api/xmlsec-examples-sign-template-file.html: #ifndef XMLSEC_NO_XSLT xsltSecurityPrefsPtr xsltSecPrefs = NULL; #endif /* XMLSEC_NO_XSLT */ /* Init libxml…
craig65535
  • 3,439
  • 1
  • 23
  • 49
0
votes
2 answers

Python libraries needed to interact withPyKML. Need some guidance with libxml2 and libxslt

I am teaching myself Python, and thanks to the great help I am getting here when I am stuck with something, I am happy with my progress. I am working on a project that retrieves a bunch of records from several APIs, data mines addresses, extracts…
Luis Miguel
  • 5,057
  • 8
  • 42
  • 75
-1
votes
1 answer

XSLT for extracting elements from a non linear XML structure

I have a XML structure where the XML schema is irregular/not formatted. The structure looks like this- type0 Fruits .... Price0
QA Testing
  • 57
  • 7
-1
votes
1 answer

Perl xslt transformation output to file

I am using this this answer to perform XSLT 1.0 tranformation. I intend save the output in another xml file. As such I add, use strict; use warnings; use XML::LibXSLT; my ($xmlfile, $xsltfile,$outfile) = qw/ example.xml trans.xsl out.xml /; my…
Recker
  • 1,915
  • 25
  • 55
-1
votes
2 answers

Converting XML to HTML in NodeJs using LibXSLT(throws has no method 'apply' error)

Anybody worked on XML to HTML transform in Nodejs, Iam getting "has no method 'apply'"error var fs = require('fs'); var libxslt = require('libxslt'); var libxmljs = require('libxmljs'); var docSource = fs.readFileSync('Hello.xml',…
Narendran
  • 1
  • 1
  • 3
1 2 3 4 5 6 7
8