diff --git a/ChangeLog b/ChangeLog
index f59ccedb..cc6b43c5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Fri Jun 23 22:26:07 CEST 2000 Daniel Veillard
+
+ * doc/xml.html: various patches and improvements typo fixed by
+ Felix Natter
+ * doc/libxml-doc.el: Emacs module to lookup the libxml documentation
+ from Felix Natter
+
Sat May 6 10:09:45 CEST 2000 Daniel Veillard
* doc/upgrade.html: updated with instructions for support of both
diff --git a/doc/libxml-doc.el b/doc/libxml-doc.el
new file mode 100644
index 00000000..76428642
--- /dev/null
+++ b/doc/libxml-doc.el
@@ -0,0 +1,140 @@
+ ;;; libxml-doc.el - look up libxml-symbols and start browser on documentation
+
+;; Author: Felix Natter
+;; Created: Jun 21 2000
+;; Keywords: libxml documentation
+
+;; This program is free software; you can redistribute it and/or
+;; modify it under the terms of the GNU General Public License
+;; as published by the Free Software Foundation; either version 2
+;; of the License, or (at your option) any later version.
+;;
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with this program; if not, write to the Free Software
+;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+ ;;; Commentary / README
+
+;; these functions allow you to browse the libxml documentation
+;; (using lynx within emacs by default;
+;; ----- Installing
+;; 1. add the following to ~/.emacs (adapt path and remove comments !)
+;; (load ~/elisp/libxml-doc.el)
+;; you can also load this conditionally in a c-mode-hook (preferred)
+;;
+;;(add-hook 'c-mode-hook (lambda()
+;; (load-file "~/elisp/libxml-doc.el")))
+;;
+;; or you can use this if you are using libxml2
+;;(add-hook 'c-mode-hook (lambda()
+;; (save-excursion
+;; (if (search-forward "#include ]*href[ \t\n]*=[ \t\n]*\"\\([^=>]*\\)\"[^>]*>" nil t nil)
+ (setq uri (concat "file://" (expand-file-name libxmldoc-root) "/"
+ (match-string 1)))
+ (if (not (re-search-forward "\\([^<]*\\)<" nil t nil))
+ (error "regexp error while finding libxml-symbols.."))
+ (setq symbol (match-string 1))
+ (setq case-fold-search nil)
+ (if (or nofilter
+ (null (string-match libxmldoc-filter-regexp symbol)))
+ (add-to-list 'symbols (cons symbol uri)))
+ (setq case-fold-search t)
+ )
+ (kill-buffer (current-buffer))
+ (setq files (cdr files)))
+ symbols))
+
+;;; libxml-doc.el ends here
diff --git a/doc/xml.html b/doc/xml.html
index c867e011..2e00b6e1 100644
--- a/doc/xml.html
+++ b/doc/xml.html
@@ -3,7 +3,7 @@
The XML library for Gnome
-
+
@@ -42,6 +42,7 @@ Logo">
Validation
DOM principles
A real example
+ Contribution
@@ -66,7 +67,7 @@ building tag-based structured documents/data.
href="http://www.w3.org/Consortium/Legal/copyright-software-19980720.html">W3C
IPR and the GNU LGPL. Use either at your convenience, basically this
should make everybody happy, if not, drop me a mail.
- There is a first set of instruction
+ There is a first set of instructions
concerning upgrade from libxml-1.x to libxml-2.x
@@ -99,7 +100,7 @@ building tag-based structured documents/data.
starting a new project using libxml you should really use the 2.x
version.
And don't forget to look at the mailing-list
- archive, too.
+ archive.
Reporting bugs and getting help
@@ -138,7 +139,7 @@ about Docbook), but it's a good starting point.
href="ftp://rpmfind.net/pub/libxml/">rpmfind.net or on the Gnome FTP server either
as a source
-archive or RPMs
+archive or RPM
packages. (NOTE that you need both the libxml and libxml-devel
@@ -158,7 +159,7 @@ packages installed to compile applications using libxml.)
platform, get in touch with me to upload the package. I will keep them in the
contrib directory
-Libxml is also available from 2 CVs bases:
+Libxml is also available from 2 CVS bases:
The W3C CVS base,
available read-only using the CVS pserver authentification (I tend to use
@@ -1134,10 +1135,31 @@ XML storage. This is left as an exercise to the reader :-)
example as a template, it is also available with Makefile in the Gnome CVS
base under gnome-xml/example
+
+
+
Daniel Veillard
-$Id: xml.html,v 1.32 2000/04/03 19:48:13 veillard Exp $
+$Id: xml.html,v 1.33 2000/04/16 08:52:20 veillard Exp $