Lars Magne Ingebrigtsen
20a5e99685
Clean up trailing whitespace.
2010-10-02 02:39:15 +02:00
Lars Magne Ingebrigtsen
1b21784963
xml.c: Rework the functions to take regions instead of strings,
...
and rename the functions to reflect clearly that they come from the
libxml package.
2010-10-02 02:36:47 +02:00
Dan Nicolaescu
55e572ef89
* src/xml.c (parse_string): Use const.
2010-09-30 16:26:40 -07:00
Chong Yidong
4b9832a6f2
Rename libxml2 functions, and make parse tree format consistent with xml.el.
...
* xml.c: Switch to GNU indentation.
(make_dom): Change parse tree format to match xml.el.
(Fxml_parse_html_string_internal): Rename from html-parse-string.
(Fxml_parse_string_internal): Rename from xml-parse-string.
* configure.in: Announce whether libxml2 is linked to.
2010-09-21 23:10:16 -04:00
Lars Magne Ingebrigtsen
c97c655f5f
* xml.c (parse_string): Renamed to parse_string(), since that's
...
what it does.
(parse_string): Return nil when the document can't be parsed.
2010-09-14 20:37:26 +02:00
Andreas Schwab
1da70e9968
* xml.c (Fxml_parse_string, Fxml_parse_string): Revert last
...
change. Don't make first argument optional. Doc fix.
2010-09-14 09:53:39 +02:00
Lars Magne Ingebrigtsen
26632d8d41
* xml.c (Fxml_parse_string, Fhtml_parse_string): Fix up the parameters
...
for the doc string.
From Leo <sdl.web@gmail.com> (tiny change)
2010-09-14 02:08:02 +02:00
Lars Magne Ingebrigtsen
21fa8e37fd
* xml.c (Fhtml_parse_string, Fxml_parse_string): Mention BASE-URL.
2010-09-12 19:16:25 +02:00
Lars Magne Ingebrigtsen
8b620f1169
Remove some trailing white space.
2010-09-10 19:45:22 +02:00
Lars Magne Ingebrigtsen
381408e219
Add support for the libxml2 library.
...
This adds the html-parse-string and xml-parse-string functions in the
new file src/xml.c, as well as autoconf detection of the library.
2010-09-10 18:44:35 +02:00