Questions tagged [libxml2]

Software library for parsing XML documents.

libxml2 is written in the programming language, and provides bindings to , , , , / and other Pascals, , , and .

The library was originally developed as part of the GNOME project and features

Useful Links

1518 questions
-1
votes
1 answer

getting Error: Invalid XSD schema NODEJS using libxmljs

I am getting Error: Invalid XSD schema error while running this error. What is the actual issue, I am unable to find it. var libxml = require("libxmljs"); var fs = require('fs'); var xsd =…
-1
votes
1 answer

How to detect end of an xml and begining of new one using libxml2

We have an old server application written in C++ using libxml2. The server receive xml from the client with some parameters, and the server responds with appropriate data according to the parameters. Now the server can receive many xml commands from…
-1
votes
1 answer

Could not find function xmlCheckVersion in library libxml2 while executing pip install uspto-opendata-python

I have conda xml2 installed. However, when I execute pip install uspto-opendata-python, I get the following message could not find function xmlCheckVersion in library libxml2. is libxml2 installed? I noticed a similar question here - Could not…
-1
votes
1 answer

How to remove '&'-words encoding from libxml2?

I have an XML file which should be parsed and processed. For that reason I'm using libxml2. The xml file I have looks something like this: test.xml And I want to get…
user12722843
-1
votes
1 answer

xmlNodeGetContent introduces newlines

It seems xmlNodeGetContent introduces newlines, where there shouldn't be. This a node dump: ELEMENT td ATTRIBUTE width TEXT content=100% ATTRIBUTE bgcolor TEXT content=#FFFFFF ELEMENT font ATTRIBUTE face TEXT …
Panayiotis Karabassis
  • 2,278
  • 3
  • 25
  • 40
-1
votes
1 answer

How to fix segfault caused by a realloc going out of bounds?

Hello and TIA for your help. As I am new to to posting questions, I welcome any feedback on how this quesiton has been asked. I have researched much in SO without finding what I thought I was looking for. I'm still working on it, and I'm not really…
9Snick4
  • 31
  • 7
-1
votes
2 answers

android NDK fopen with path with spaces failing

I am trying to port libxml2 to android.When I use file path with spaces (for example path = "/storage/emulated/0/sdcard/New XML.xml"), opening of xml file is failing.But if I use path without spaces(for example…
-1
votes
1 answer

How to read a whole XML node

My XML file looks like this: I'm using…
Eddie Greathouse
  • 125
  • 1
  • 5
  • 14
-1
votes
1 answer

How to add a new node to root node in XML document using Libxml2 that should be first element

I am using Libxml2 Every time i am adding new nodes to the existing XML document. Adding new nodes is fine but what ever i added nodes in the XML document it added last of the child node but i want to add new nodes after the root node.
Naveen Kumar
  • 159
  • 1
  • 1
  • 5
-1
votes
1 answer

lxml 3.6.4 installation error for python 3.5 on win 10

When I try to install lxml for python 3.5 on Windows 10 by using pip install lxml I get the error message as follows: "b" 'xslt-config' is nor recognized as an external or internal command, \r\noperable program or batch file.\r\n" ** make sure the…
-1
votes
2 answers

configure file is missing in libxml2

I pulled libxml2 library using git command "git clone git://git.gnome.org/libxml2" . As per README file instructions , I have to run "./configuration" first. But i could not find the configure file. what could be the issue? I am using RHEL6…
BEPP
  • 875
  • 1
  • 12
  • 36
-1
votes
1 answer

Win10 scrapy install

I have python install as well as c++ complier. When I run "pip install scrapy" from the command line it starts to install but I get a couple errors surrounding the libxml and libxslt. error: 'xslt-config' is not recognized... cannot open…
-1
votes
1 answer

How can I save an XML DOM tree to a new document using Perl's XML::LibXML?

I write the following (DOM) Perl script (shown below) in order to create the following XML DOM: How can I save the XML output into test.xml file? I tried to save the XML with $doc->printToFile('/tmp/test.xml');…
yael
  • 2,765
  • 10
  • 40
  • 48
-1
votes
1 answer

Need to configure / make / compile etc libxml2 in 32 bit on a 64 bit redhat machine

There's obviously something that I'm not doing but I can't see what it is. I run (in a bash shell) CFLAGS='-m32-bit' ./configure And I get: checking build system type... x86_64-unknown-linux-gnu checking host system type...…
user1637261
  • 61
  • 1
  • 1
  • 6
-1
votes
2 answers

Parse xml with libxml2 and get named string value with C

I am very new to XML stuff, so i have to ask for help. I have a xml file like this:
John2 Doe
Andrei Golubev
  • 283
  • 1
  • 2
  • 15
1 2 3
99
100