From 024f19966eafc5943d32f212894b1e73cf06e2ea Mon Sep 17 00:00:00 2001
From: Daniel Veillard
Date: Wed, 10 Dec 2003 16:43:49 +0000
Subject: [PATCH] fixed to point to releases of libxml2-2.6, Daniel
---
doc/FAQ.html | 18 ++++----
doc/XMLinfo.html | 6 +--
doc/XSLT.html | 2 +-
doc/bugs.html | 10 ++---
doc/catalog.html | 104 ++++++++++++++++++++++----------------------
doc/downloads.html | 2 +-
doc/encoding.html | 18 ++++----
doc/entities.html | 8 ++--
doc/example.html | 30 ++++++-------
doc/index.html | 2 +-
doc/library.html | 36 +++++++--------
doc/namespaces.html | 10 ++---
doc/news.html | 14 +++---
doc/python.html | 82 +++++++++++++++++-----------------
doc/threads.html | 2 +-
doc/upgrade.html | 4 +-
doc/xml.html | 4 +-
doc/xmldtd.html | 8 ++--
doc/xmlmem.html | 2 +-
19 files changed, 181 insertions(+), 181 deletions(-)
diff --git a/doc/FAQ.html b/doc/FAQ.html
index 3424e3f0..472863fb 100644
--- a/doc/FAQ.html
+++ b/doc/FAQ.html
@@ -25,7 +25,7 @@ A:link, A:visited, A:active { text-decoration: underline }
- Do Not Use
libxml1, use libxml2
- Where can I get libxml ?
-
The original distribution comes from rpmfind.net or gnome.org
+ The original distribution comes from rpmfind.net or gnome.org
Most Linux and BSD distributions include libxml, this is probably the
safer way for end-users to use libxml.
David Doolin provides precompiled Windows versions at http://www.ce.berkeley.edu/~doolin/code/libxmlwin32/
@@ -61,7 +61,7 @@ A:link, A:visited, A:active { text-decoration: underline }
applications with libxml(2)) that you can install locally.
- What is the process to compile libxml2 ?
-
As most UNIX libraries libxml2 follows the "standard":
+ As most UNIX libraries libxml2 follows the "standard":
gunzip -c xxx.tar.gz | tar xvf -
cd libxml-xxxx
./configure --help
@@ -134,15 +134,15 @@ A:link, A:visited, A:active { text-decoration: underline }
Extra nodes in the document:
For a XML file as below:
- <?xml version="1.0"?>
-<PLAN xmlns="http://www.argus.ca/autotest/1.0/">
-<NODE CommFlag="0"/>
-<NODE CommFlag="1"/>
+ <?xml version="1.0"?>
+<PLAN xmlns="http://www.argus.ca/autotest/1.0/">
+<NODE CommFlag="0"/>
+<NODE CommFlag="1"/>
</PLAN>
after parsing it with the function
pxmlDoc=xmlParseFile(...);
I want to the get the content of the first node (node with the
- CommFlag="0")
+ CommFlag="0")
so I did it as following;
xmlNodePtr pnode;
pnode=pxmlDoc->children->children;
@@ -227,14 +227,14 @@ pnode=pxmlDoc->children->children;
xmlDocPtr doc; /* your existing document */
xmlDtdPtr dtd = xmlParseDTD(NULL, filename_of_dtd); /* parse the DTD */
- dtd->name = xmlStrDup((xmlChar*)"root_name"); /* use the given root */
+ dtd->name = xmlStrDup((xmlChar*)"root_name"); /* use the given root */
doc->intSubset = dtd;
if (doc->children == NULL) xmlAddChild((xmlNodePtr)doc, (xmlNodePtr)dtd);
else xmlAddPrevSibling(doc->children, (xmlNodePtr)dtd);
- So what is this funky "xmlChar" used all the time?
+ So what is this funky "xmlChar" used all the time?
It is a null terminated sequence of utf-8 characters. And only utf-8!
You need to convert strings encoded in different ways to utf-8 before
passing them to the API. This can be accomplished with the iconv library
diff --git a/doc/XMLinfo.html b/doc/XMLinfo.html
index ef03b245..2642bcb1 100644
--- a/doc/XMLinfo.html
+++ b/doc/XMLinfo.html
@@ -9,15 +9,15 @@ H3 {font-family: Verdana,Arial,Helvetica}
A:link, A:visited, A:active { text-decoration: underline }
XML |    | The XML C parser and toolkit of GnomeXML |
|
|
| XML is a standard for
markup-based structured documents. Here is an example XML
-document: <?xml version="1.0"?>
-<EXAMPLE prop1="gnome is great" prop2="& linux too">
+document:<?xml version="1.0"?>
+<EXAMPLE prop1="gnome is great" prop2="& linux too">
<head>
<title>Welcome to Gnome</title>
</head>
<chapter>
<title>The Linux adventure</title>
<p>bla bla bla ...</p>
- <image href="linus.gif"/>
+ <image href="linus.gif"/>
<p>...</p>
</chapter>
</EXAMPLE> The first line specifies that it is an XML document and gives useful
diff --git a/doc/XSLT.html b/doc/XSLT.html
index 138e5120..00f4b498 100644
--- a/doc/XSLT.html
+++ b/doc/XSLT.html
@@ -10,5 +10,5 @@ A:link, A:visited, A:active { text-decoration: underline }
XSLT  |    | The XML C parser and toolkit of GnomeXSLT |
|
|
| Check the separate libxslt page XSL Transformations, is a
language for transforming XML documents into other XML documents (or
HTML/textual output). A separate library called libxslt is available implementing XSLT-1.0 for
-libxml2. This module "libxslt" too can be found in the Gnome CVS base. You can check the features
+libxml2. This module "libxslt" too can be found in the Gnome CVS base. You can check the features
supported and the progresses on the Changelog. Daniel Veillard |
|
|
|
|
|
|
|
|
|