Top "Libxml2" questions

Software library for parsing XML documents.

Validating XML: No matching global declaration available for the validation root

I'm trying to validate the following XML against a XSD schema using Ruby. It simply won't work, stops with an …

ruby xml xsd libxml2
Building the latest iconv and libxml2 binaries in Win32

I'm trying to get MinGW and MSYS working so I can build iconv and libxml2 in Windows, but I'm finding ./…

c++ mingw libxml2 msys iconv
Why does this XML validation via XSD fail in libxml2 (but succeed in xmllint) and how do I fix it?

If I run this XML validation via xmllint: xmllint --noout --schema schema.xsd test.xml I get this success message: .../…

c xml macos xsd libxml2
how to use libxml2 to modify an existing xml file?

I need to take an existing xml file, and modify just a few attributes and write the file back out. …

c xml linux libxml2
How can I access attributes and elements from XML::LibXML in Perl?

I am having trouble understanding / using name spaces with XML::LibXML package in Perl. I can access an element successfully …

perl xpath namespaces libxml2 xml-libxml
Error while linking libxml2

I have a simple example for libxml2 but it returns the following error: $ gcc -Wall -lxml2 -I/usr/include/libxml2 …

c linker libxml2
How can I use Perl's XML::LibXML to extract an attribute in a tag?

I have an XML file <PARENT > <TAG string1="asdf" string2="asdf" > </TAG > </PARENT&…

perl libxml2
libxml2 error with namespaces and xpath

I am pasting some code here that compiles with no warning using gcc file.c -lxml2, assuming that libxml2 is …

c xml xpath namespaces libxml2
libxml2 can´t get content from node

I am using libxml in C and this is how I create xml: xmlDocPtr createXmlSegment(char *headerContent, char *dataContent) { xmlDocPtr …

c xml libxml2
ImportError: No module named libxml2

I am using Ubuntu 12.04.2 LTS. I have used libxml2 in my python script and when I try to run it, …

python python-2.7 libxml2