mirror of
https://github.com/GNOME/libxml2.git
synced 2025-02-11 18:09:31 +08:00
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
This commit is contained in:
parent
10acc2f37a
commit
008c06b479
@ -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
|
||||
|
@ -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>
|
||||
|
||||
|
@ -1019,7 +1019,10 @@ def analyzeHTMLPages():
|
||||
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
|
||||
|
@ -258,8 +258,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
$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 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
} 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);
|
||||
}
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user