fixed problem parsing xhtml docs small modification to avoid problem in

* doc/index.py: fixed problem parsing xhtml docs
* doc/xmlreader.html,doc/guidelines.html: small modification
  to avoid problem in python parsing.
* doc/search.php: fixed upper case filename problem for XSLT docs
diff --git a/ChangeLog b/ChangeLog
index 7b3ba64..fb8312a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Mon Sep  1 15:15:18 PDT 2003 William Brack <wbrack@mmm.com.hk>
+
+	* doc/index.py: fixed problem parsing xhtml docs
+	* doc/xmlreader.html,doc/guidelines.html: small modification
+	  to avoid problem in python parsing.
+	* doc/search.php: fixed upper case filename problem for XSLT docs
+
 Mon Sep  1 22:55:09 CEST 2003 Daniel Veillard <daniel@veillard.com>
 
 	* xinclude.c: patch from Mark Vakoc that allows compiling 
diff --git a/doc/guidelines.html b/doc/guidelines.html
index 38afdd1..9e77954 100644
--- a/doc/guidelines.html
+++ b/doc/guidelines.html
@@ -3,16 +3,16 @@
 <html>
 <head>
   <meta http-equiv="Content-Type" content="text/html">
-  <style type="text/css">
+  <style type="text/css"></style>
 <!--
 TD {font-family: Verdana,Arial,Helvetica}
 BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; margin-right: 0em}
 H1 {font-family: Verdana,Arial,Helvetica}
 H2 {font-family: Verdana,Arial,Helvetica}
 H3 {font-family: Verdana,Arial,Helvetica}
-A:link, A:visited, A:active { text-decoration: underline }-->
-
+A:link, A:visited, A:active { text-decoration: underline }
   </style>
+-->
   <title>XML resources publication guidelines</title>
 </head>
 
diff --git a/doc/index.py b/doc/index.py
index 49a2cfc..470f1b2 100755
--- a/doc/index.py
+++ b/doc/index.py
@@ -1019,7 +1019,10 @@
 	if html == "xml.html":
 	    continue
 	try:
+	    doc = libxml2.parseFile(html)
+	except:
 	    doc = libxml2.htmlParseFile(html, None)
+	try:
 	    res = analyzeHTML(doc, html)
 	    print "Parsed %s : %d paragraphs" % (html, res)
 	    ret = ret + 1
diff --git a/doc/search.php b/doc/search.php
index 85f5761..ed11884 100644
--- a/doc/search.php
+++ b/doc/search.php
@@ -258,8 +258,7 @@
 							$t,$m,$d,$w,$u);
 			    } else {
 				$id = strtoupper($name);
-//				$m = strtolower($module);
-//				$url = "html/libxml-$m.html#$id";
+				$m = strtolower($module);
 				$url = "html/libxml-$module.html#$id";
 				$results[$name] = array($relevance,$type,
 						$module, $desc, $name, $url);
@@ -285,7 +284,7 @@
 			    } else {
 				$id = strtoupper($name);
 				$m = strtolower($module);
-				$url = "XSLT/html/libxslt-$m.html#$id";
+				$url = "XSLT/html/libxslt-$module.html#$id";
 				$results[$name] = array($relevance,$type,
 						$module, $desc, $name, $url);
 			    }
diff --git a/doc/xmlreader.html b/doc/xmlreader.html
index 3edadb6..74da512 100644
--- a/doc/xmlreader.html
+++ b/doc/xmlreader.html
@@ -3,21 +3,16 @@
 <html>
 <head>
   <meta http-equiv="Content-Type" content="text/html">
-  <style type="text/css">
+  <style type="text/css"></style>
 <!--
 TD {font-family: Verdana,Arial,Helvetica}
 BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; margin-right: 0em}
 H1 {font-family: Verdana,Arial,Helvetica}
 H2 {font-family: Verdana,Arial,Helvetica}
 H3 {font-family: Verdana,Arial,Helvetica}
-A:link, A:visited, A:active { text-decoration: underline }-->
-
-
-
-
-
-
+A:link, A:visited, A:active { text-decoration: underline }
   </style>
+-->
   <title>Libxml2 XmlTextReader Interface tutorial</title>
 </head>