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

Reading an XML using libxml2

I'm using libxml2.so to parse XML file in C on LINUX platform. I have my XML in the format as mentioned below. I can have any number of accounts in the files. I'm using libxml for the first time after someone suggested me on forum. I'm able to…
dicaprio
  • 713
  • 2
  • 8
  • 25
0
votes
1 answer

xmlReaderForMemory crashes on 2nd time call

after making google for long time also, i am unable to find reason/solution for crashing of xmlReaderForMemory,still with valid parameters. i have created two parser function using libxml,when i call individually they are working fine.But when i…
Subrat nayak.
  • 405
  • 1
  • 7
  • 25
0
votes
1 answer

Passing a xmlDocPtr object into a selector

I don't know how much I can say about the app that I am creating due to some NDA functionality, even if it may not be new I still would like to save myself, but I was wondering if there was a way to pass a xmlDocPtr through a selector? If so how is…
Seb
  • 3,414
  • 10
  • 73
  • 106
0
votes
1 answer

node.js libxml can NOT install

Try to use npm install libxml and an error : Failed at the libxml@0.0.5 preinstall script. I see another error above : /usr/bin/ld: cannot find -lxml2 collect2: return code 1 Waf: Leaving directory…
ZigZag
  • 539
  • 1
  • 8
  • 19
0
votes
1 answer

Warning/Error using xmlReadFile in C

And I use following code to parse it: int parse( const…
hari
  • 9,439
  • 27
  • 76
  • 110
0
votes
1 answer

Reading data from an XML file using C

This is follow-up to: using xslt to create an xml file in c
hari
  • 9,439
  • 27
  • 76
  • 110
0
votes
1 answer

Adding libxml2 to Xcode Errors

I've seen like 10239218301 other questions about this but NO solution has worked for me. I've tried "Other Linker Flags" = -lxml2 I've tried "Search Header Files" = $(SDKROOT)/usr/include/libxml2 I've tried "Search Header Files" =…
MrHappyAsthma
  • 6,332
  • 9
  • 48
  • 78
0
votes
1 answer

Creating XML requests and sending them to server using ASIHttpRequest

I am trying to generate XML request to be sent to server over Http Post. I am aware of ASIHttpRequest library and want to use it. I have two questions regarding this: 1) How to generate XML request? (Which is best library to use?…
iOSDev
  • 3,617
  • 10
  • 51
  • 91
0
votes
2 answers

Combining reading and writing of XML configuration functions.

I’m using libxml2 to create and read XML files in c that contain configuration information for the program I’m writing. The program makes its own configuration files (or another program sends it a configuration file and asks the program to run based…
Anthony
  • 108
  • 10
0
votes
3 answers

Cannot compile simple programme that uses libxml++ because glibmmconfig.h not found

After stripping away all of the unnecessary code, this is the barebones version that refuses to compile: #include #include using namespace std; int main (int argc, char *argv[]) { cout << "Hello, World!" <<…
Shredderroy
  • 2,860
  • 2
  • 29
  • 53
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
0
votes
1 answer

use the valid part of xml present in the broken xml

hi how to use the valid part of an xml present inside a broken xml Ex: DATA DATA at above since the nodea is not getting closed so this is a broken xml,but the nodeb & nodec are the valid Xmls present inside…
Subrat nayak.
  • 405
  • 1
  • 7
  • 25
0
votes
1 answer

XML validator (checks whether given xml is correct or broken)

i have used libxml2.Here when i am getting an XML data as a string i am unable to check whether it is a valid xml or a broken xml.so can anyone let me know how to check for the validation of xml in c using libxml2 or can suggest any more way to…
Subrat nayak.
  • 405
  • 1
  • 7
  • 25
-1
votes
2 answers

parsing for xml values

I have a simple xml string defined in the following way in a c code: char xmlstr[] = "Welcometowonderland"; I want to parse the xmlstr to fetch all the values assigned to str1,str2,str3 tags. I am…
-1
votes
1 answer

Why does DOMDocument use 80 minutes when XMLParser use 10 seconds to parse 120MB of XML?

I have a large 120MB XML file, and i have written 2 parsers to parse it, 1 with the DOMDocument API, which uses roughly 80 minutes to parse it, and another parser using the XML Parser API, using roughly 10 seconds to parse it. (I also wrote a…
hanshenrik
  • 19,904
  • 4
  • 43
  • 89
1 2 3
99
100