[Htt-developers] HTTP command libXML2 < 2.6.27 and XML command implementation
Brought to you by:
ia97lies
From: Rafael T. <rdt...@gm...> - 2013-02-21 21:00:54
|
Hi all, I don't know the proper way to submit an patch, so follow attached my contributions to the project. Basically I did the following: 1) Old versions of libxml2 does not expose the htmlNewParserCtxt (and htmlInitParserCtxt which it uses) method. htmlNewParserCtxt wasn't added to the libxml2 header files until 2.6.27. So I've simply copied them ( with a small modification) from a newer version of libxml2. 2) I've implemented a XML command, which I can use to parse XML responses using XPath. I hope you guys enjoy it. []'s Rafael Torres |