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
454
votes
12 answers

How to install lxml on Ubuntu

I'm having difficulty installing lxml with easy_install on Ubuntu 11. When I type $ easy_install lxml I get: Searching for lxml Reading http://pypi.python.org/simple/lxml/ Reading http://codespeak.net/lxml Best match: lxml 2.3 Downloading…
Eric Wilson
  • 57,719
  • 77
  • 200
  • 270
163
votes
33 answers

Why does installing Nokogiri on Mac OS fail with libiconv is missing?

I've been trying to install Nokogiri on Mac OS 10.9.3 and whatever I try, the install fails in the end with the following error message: $ sudo gem install nokogiri -- --with-xml2-include=/usr/local/Cellar/libxml2/2.9.1/include/libxml2…
polarblau
  • 17,649
  • 7
  • 63
  • 84
110
votes
30 answers

Error to install Nokogiri on OSX 10.9 Maverick?

I upgraded my OSX (Lion) to Mavericks and I can't install Nokogiri for my projects. I already install XCode 5.0.1, Command Line Tools (using xcode-select --install), and already installed libxml2 from Homebrew and I am still having problems. The…
squiter
  • 5,711
  • 4
  • 24
  • 24
100
votes
22 answers

libxml/tree.h no such file or directory

I am getting following errors. libxml/tree.h no such file or directory I have already added libxml2.dylib to my project, however I am getting this type of trouble. Please help me.
sagarkothari
  • 24,520
  • 50
  • 165
  • 235
83
votes
16 answers

Mac user and getting WARNING: Nokogiri was built against LibXML version 2.7.8, but has dynamically loaded 2.7.3

I have done all kinds of research and tried many different things. I know this question has been answered many times, but none of the suggested solutions are working for me. After upgrading to Lion I am getting segmentation faults in Ruby. I'm…
Binary Logic
  • 1,529
  • 2
  • 17
  • 19
65
votes
7 answers

How check if a String is a Valid XML with-out Displaying a Warning in PHP

i was trying to check the validity of a string as xml using this simplexml_load_string()Docs function but it displays a lot of warning messages. How can I check whether a string is a valid XML without suppressing (@ at the beginning) the error and…
jspeshu
  • 1,211
  • 3
  • 12
  • 20
56
votes
3 answers

How to see available options for homebrew formula install?

I'm reading this stack overflow answer Mac user and getting WARNING: Nokogiri was built against LibXML version 2.7.8, but has dynamically loaded 2.7.3 and I just want to know where they learned about the --with-xml2-config option in brew install…
David Winiecki
  • 4,093
  • 2
  • 37
  • 39
44
votes
14 answers

Why am I getting this "libxml/tree.h file not found" error?

I just installed Xcode version 4.3.1 and I get this error: libxml / tree.h file not found I have also installed Xcode 4.2, and with the same project I get the same error. I have configured the header search paths with /usr/include/libxml2 I also…
Sergio Rodríguez
  • 481
  • 1
  • 4
  • 9
44
votes
4 answers

installed libtool but libtoolize not found

i'm trying to build libxml2 from source on my mac. so i have autoconf, libtool, and automake installed using macports autoconf and automake seem to be working fine as expected. i try running autogen.sh first. libtoolize --version unfortunately…
tzl
  • 1,540
  • 2
  • 20
  • 31
42
votes
6 answers

No package 'libxml-2.0' found

I am trying to add libvisio in my mac os x from https://wiki.documentfoundation.org/DLP/Libraries/libvisio I have added all dependancy described there listed bellow: boost gperf icu librevenge libxml2 perl doxygen After adding dependancies i am…
Rohan
  • 668
  • 1
  • 6
  • 10
36
votes
5 answers

#import file not found after xcode update

Lastnight I updated my iPhone to iOS 6.1, my current version of xcode wouldn't build to the phone as I needed the newest version. I went from xcode 4.5.2 to xcode 4.6, I made 0 changes in my project file. What used to compile completely fine, now…
Bongeh
  • 2,300
  • 2
  • 18
  • 30
34
votes
8 answers

What's the best XML parser for Perl?

I have tried many of the Perl XML Parsers. I was quite interested in the Sablotron Parser, but it is such a pain to install on a Windows box. Currently I have started using XML::LibXML and XML::LibXSLT both of which seem to do everything I need. …
Xetius
  • 44,755
  • 24
  • 88
  • 123
32
votes
3 answers

iPhone Development - XMLParser vs. libxml2 vs. TouchXML

I cannot find comparison of these parsing technique. Which one is most commonly used? Regards. Mustafa
Mustafa
  • 20,504
  • 42
  • 146
  • 209
32
votes
5 answers

Install libxml2 and associated python bindings - Windows

I am attempting to install libxml2 so that I can setup the python bindings and eventually use lxml. However I am unable to work out here on earth I am supposed to be unzipping the files. I haven't been able to google successfully. Do I need…
Rocco
  • 1,395
  • 3
  • 11
  • 19
31
votes
8 answers

Libxml2 missing mac os x 10.10

Running 'compile' for libxslt 1.1.28... OK Running 'install' for libxslt 1.1.28... OK Activating libxslt 1.1.28 (from…
John Smith
  • 311
  • 1
  • 3
  • 3
1
2 3
99 100