From fc97906edfc501278820fdcd3fc05efcbded1538 Mon Sep 17 00:00:00 2001
From: Daniel Veillard
xmlNanoFTPClose
xmlNanoFTPCloseConnection
+xmlSaveClose
xmlNamespaceParseNCName
diff --git a/doc/APIchunk10.html b/doc/APIchunk10.html
index 6afa7973..6def6a85 100644
--- a/doc/APIchunk10.html
+++ b/doc/APIchunk10.html
@@ -334,6 +334,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlReadIO
xmlReaderForIO
xmlReaderNewIO
+xmlSaveToIO
xmlTextReaderClose
xmlReadFd
diff --git a/doc/APIchunk11.html b/doc/APIchunk11.html
index 37a4f3bd..d8c29511 100644
--- a/doc/APIchunk11.html
+++ b/doc/APIchunk11.html
@@ -269,6 +269,8 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlReadFd
xmlReaderForFd
xmlReaderNewFd
+xmlSaveToFd
+xmlSaveToIO
xmlLoadExternalEntity
diff --git a/doc/APIchunk13.html b/doc/APIchunk13.html
index 1abf76be..a1ce7103 100644
--- a/doc/APIchunk13.html
+++ b/doc/APIchunk13.html
@@ -311,6 +311,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlHashScannerFull
xmlRelaxNGValidateFullElement
xmlRelaxNGValidatePushElement
+xmlSaveDoc
xmlShellPwd
xmlSplitQName2
xmlSplitQName3
diff --git a/doc/APIchunk14.html b/doc/APIchunk14.html
index 0f656578..b85c1ef2 100644
--- a/doc/APIchunk14.html
+++ b/doc/APIchunk14.html
@@ -232,6 +232,8 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlParseSDDecl
xmlParserHandlePEReference
xmlParserHandleReference
+xmlSaveClose
+xmlSaveFlush
xmlStrEqual
xmlTextReaderHasValue
xmlTextReaderReadAttributeValue
diff --git a/doc/APIchunk16.html b/doc/APIchunk16.html
index dc6e0ef7..09a4a004 100644
--- a/doc/APIchunk16.html
+++ b/doc/APIchunk16.html
@@ -155,7 +155,8 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlSplitQName3
xmlValidatePushCData
-
+
+xmlXPathCeilingFunction
xmlXPathCompareValues
xmlXPathSubstringFunction
diff --git a/doc/APIchunk17.html b/doc/APIchunk17.html
index 9e1b43b1..df28dfca 100644
--- a/doc/APIchunk17.html
+++ b/doc/APIchunk17.html
@@ -51,6 +51,8 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlRemoveRef
+xmlSaveClose
+xmlSaveFlush
xmlLoadCatalogs
xmlTextReaderExpand
diff --git a/doc/APIchunk19.html b/doc/APIchunk19.html
index 56f16b30..cbce12b2 100644
--- a/doc/APIchunk19.html
+++ b/doc/APIchunk19.html
@@ -218,6 +218,10 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlURIUnescapeString
xmlCtxtUseOptions
+xmlSaveToBuffer
+xmlSaveToFd
+xmlSaveToFilename
+xmlSaveToIO
xmlListInsert
xmlXPathNextAncestor
diff --git a/doc/APIchunk20.html b/doc/APIchunk20.html
index 58fad06f..10ad6e02 100644
--- a/doc/APIchunk20.html
+++ b/doc/APIchunk20.html
@@ -211,6 +211,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlParseBalancedChunkMemory
xmlParseBalancedChunkMemoryRecover
xmlParseExternalEntity
+xmlSaveToFilename
xmlXPathStringFunction
diff --git a/doc/APIchunk21.html b/doc/APIchunk21.html
index abbfa1af..84fe917b 100644
--- a/doc/APIchunk21.html
+++ b/doc/APIchunk21.html
@@ -329,6 +329,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlDecodeEntities
xmlUnlockLibrary
+
diff --git a/doc/APIchunk22.html b/doc/APIchunk22.html
index d0233a94..15e00971 100644
--- a/doc/APIchunk22.html
+++ b/doc/APIchunk22.html
@@ -80,6 +80,14 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlOutputBufferCreateFile
xmlOutputBufferCreateFilename
xmlOutputBufferCreateIO
+xmlSaveClose
+xmlSaveDoc
+xmlSaveFlush
+xmlSaveToBuffer
+xmlSaveToFd
+xmlSaveToFilename
+xmlSaveToIO
+xmlSaveTree
docbSAXParseFile
htmlSAXParseDoc
@@ -184,10 +192,18 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlValidNormalizeAttributeValue
xmlXPathNormalizeFunction
+xmlSaveToBuffer
+xmlSaveToFd
+xmlSaveToFilename
+xmlSaveToIO
xmlShellCat
xmlShellWrite
xmlValidatePopElement
xmlValidatePushElement
+
+xmlSaveToFd
+xmlSaveToFilename
+xmlSaveToIO
xmlNanoFTPCheckResponse
xmlNanoFTPCloseConnection
@@ -495,6 +511,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlByteConsumed
xmlNewCharRef
xmlNewTextWriterTree
+xmlSaveTree
xmlXPathOrderDocElems
xmlXPathSubstringFunction
xmlXPtrNewCollapsedRange
@@ -702,6 +719,7 @@ A:link, A:visited, A:active { text-decoration: underline }
attributeSAXFunc
xmlReconciliateNs
xmlRelaxNGValidateFullElement
+xmlSaveTree
xmlShellDu
xmlShellWrite
xmlTextReaderExpand
@@ -763,7 +781,9 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlNewDocNodeEatName
xmlStrcat
xmlStrdup
-
+
+xmlSaveFlush
+xmlURIEscape
xmlXPathNodeSetAddUnique
diff --git a/doc/APIchunk24.html b/doc/APIchunk24.html
index ac217c77..d418a4f5 100644
--- a/doc/APIchunk24.html
+++ b/doc/APIchunk24.html
@@ -413,6 +413,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlNewCharEncodingHandler
xmlOutputBufferCreateIO
xmlOutputWriteCallback
+xmlSaveToIO
xmlShellWrite
diff --git a/doc/APIchunk25.html b/doc/APIchunk25.html
index 01bc2c69..cabe9f1d 100644
--- a/doc/APIchunk25.html
+++ b/doc/APIchunk25.html
@@ -355,6 +355,10 @@ A:link, A:visited, A:active { text-decoration: underline }
+
+xmlSaveToFd
+xmlSaveToFilename
+xmlSaveToIO
resolveEntitySAXFunc
xmlSAX2ResolveEntity
diff --git a/doc/APIchunk3.html b/doc/APIchunk3.html
index 17625ae3..90610c8a 100644
--- a/doc/APIchunk3.html
+++ b/doc/APIchunk3.html
@@ -71,7 +71,8 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlValidateOneAttribute
xmlValidateOneNamespace
-
+
+xmlTextWriterFlush
xmlC14NDocDumpMemory
xmlC14NDocSave
diff --git a/doc/APIchunk6.html b/doc/APIchunk6.html
index dae47ac9..ad2ce0ca 100644
--- a/doc/APIchunk6.html
+++ b/doc/APIchunk6.html
@@ -260,6 +260,8 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlSAX2InternalSubset
+xmlSaveDoc
+xmlSaveTree
xmlSaveUri
xmlHashScan
diff --git a/doc/APIchunk9.html b/doc/APIchunk9.html
index 3f87ef88..a3fc71e7 100644
--- a/doc/APIchunk9.html
+++ b/doc/APIchunk9.html
@@ -245,6 +245,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlParsePEReference
xmlParserHandlePEReference
xmlParserInputBufferCreateStatic
+xmlSaveToFilename
xmlScanName
xmlSetupParserForBuffer
xmlStrncatNew
diff --git a/doc/APIconstructors.html b/doc/APIconstructors.html
index e0a21098..af60a888 100644
--- a/doc/APIconstructors.html
+++ b/doc/APIconstructors.html
@@ -79,6 +79,8 @@ A:link, A:visited, A:active { text-decoration: underline }
htmlNodeStatus
xmlByteConsumed
xmlGetLineNo
+xmlSaveDoc
+xmlSaveTree
xmlXPathOrderDocElems
xmlCatalogAddLocal
@@ -446,6 +448,10 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlRelaxNGNewParserCtxt
xmlSaveToBuffer
+xmlSaveToFd
+xmlSaveToFilename
+xmlSaveToIO
xmlSchemaNewDocParserCtxt
xmlSchemaNewMemParserCtxt
diff --git a/doc/APIfiles.html b/doc/APIfiles.html
index cf89b021..a36f187a 100644
--- a/doc/APIfiles.html
+++ b/doc/APIfiles.html
@@ -2202,6 +2202,16 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlRegexpIsDeterminist
xmlRegexpPrint
xmlRegexpPtr
+
xmlSaveClose
+xmlSaveCtxt
+xmlSaveCtxtPtr
+xmlSaveDoc
+xmlSaveFlush
+xmlSaveToBuffer
+xmlSaveToFd
+xmlSaveToFilename
+xmlSaveToIO
+xmlSaveTree
XML_SCHEMAS_ERR_
XML_SCHEMAS_ERR_ATTRINVALID
XML_SCHEMAS_ERR_ATTRUNKNOWN
diff --git a/doc/APIfunctions.html b/doc/APIfunctions.html
index 56acb102..f18e9882 100644
--- a/doc/APIfunctions.html
+++ b/doc/APIfunctions.html
@@ -800,6 +800,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlSAXParseMemoryWithData
xmlSAXUserParseFile
xmlSAXUserParseMemory
+xmlSaveToIO
xmlSchemaSetParserErrors
xmlSchemaSetValidErrors
xmlSchemaValidateStream
@@ -908,6 +909,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlNewTextWriterMemory
xmlNodeBufGetContent
xmlNodeDump
+xmlSaveToBuffer
xmlCatalogSetDefaultPrefer
@@ -1093,6 +1095,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlRelaxNGValidatePushElement
xmlRemoveID
xmlRemoveRef
+xmlSaveDoc
xmlSaveFile
xmlSaveFileEnc
xmlSaveFileTo
@@ -1363,6 +1366,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlRelaxNGValidatePopElement
xmlRelaxNGValidatePushElement
xmlReplaceNode
+xmlSaveTree
xmlSchemaValPredefTypeNode
xmlSearchNs
xmlSearchNsByHref
@@ -1510,10 +1514,12 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlSaveFormatFileTo
xmlOutputBufferCreateIO
xmlRegisterOutputCallbacks
+xmlSaveToIO
xmlOutputBufferCreateIO
xmlRegisterOutputCallbacks
+xmlSaveToIO
inputPop
inputPush
namePop
@@ -1714,6 +1720,10 @@ A:link, A:visited, A:active { text-decoration: underline }
setDocumentLocator
setDocumentLocatorSAXFunc
xmlSAX2SetDocumentLocator
+
xmlSaveClose
+xmlSaveDoc
+xmlSaveFlush
+xmlSaveTree
xmlSchemaCheckFacet
xmlSchemaFreeFacet
xmlSchemaValidateFacet
diff --git a/doc/APIsymbols.html b/doc/APIsymbols.html
index 6c542244..973b478e 100644
--- a/doc/APIsymbols.html
+++ b/doc/APIsymbols.html
@@ -2106,13 +2106,23 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlSAXUserParseFile
xmlSAXUserParseMemory
xmlSAXVersion
+xmlSaveClose
+xmlSaveCtxt
+xmlSaveCtxtPtr
+xmlSaveDoc
xmlSaveFile
xmlSaveFileEnc
xmlSaveFileTo
+xmlSaveFlush
xmlSaveFormatFile
xmlSaveFormatFileEnc
xmlSaveFormatFileTo
xmlSaveNoEmptyTags
+xmlSaveToBuffer
+xmlSaveToFd
+xmlSaveToFilename
+xmlSaveToIO
+xmlSaveTree
xmlSaveUri
xmlScanName
xmlSchema
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 09a61154..e2d2fa68 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,7 +1,5 @@
## Process this file with automake to produce Makefile.in
SUBDIRS=examples
-# The name of the module.
-DOC_MODULE=libxml2-$(VERSION)
# The top-level SGML file.
DOC_MAIN_XML_FILE=gnome-xml.xml
@@ -9,12 +7,9 @@ DOC_MAIN_XML_FILE=gnome-xml.xml
# The directory containing the source code (if it contains documentation).
DOC_SOURCE_DIR=..
-HTML_DIR=$(datadir)/doc
-
# A file in win32 depends upon one of the doc files
WIN32_DIR=$(top_srcdir)/win32
-TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)/html
PAGES= architecture.html bugs.html contribs.html docs.html DOM.html \
downloads.html entities.html example.html help.html index.html \
interface.html intro.html library.html namespaces.html news.html \
@@ -94,20 +89,20 @@ maintainer-clean-local: clean
rebuild: api all
install-data-local:
- $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR)
- -@INSTALL@ -m 0644 $(srcdir)/xml.html $(srcdir)/encoding.html $(srcdir)/FAQ.html $(srcdir)/structure.gif $(srcdir)/DOM.gif $(srcdir)/smallfootonly.gif $(srcdir)/redhat.gif $(srcdir)/libxml.gif $(srcdir)/w3c.png $(srcdir)/Libxml2-Logo-180x168.gif $(srcdir)/Libxml2-Logo-90x34.gif $(DESTDIR)$(TARGET_DIR)
- $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR)/html
- -@INSTALL@ -m 0644 $(srcdir)/html/*.html $(DESTDIR)$(TARGET_DIR)/html
- -@INSTALL@ -m 0644 $(srcdir)/html/*.png $(DESTDIR)$(TARGET_DIR)/html
- -@INSTALL@ -m 0644 $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR)/html
- $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR)/tutorial
+ $(mkinstalldirs) $(DESTDIR)$(HTML_DIR)
+ -@INSTALL@ -m 0644 $(srcdir)/xml.html $(srcdir)/encoding.html $(srcdir)/FAQ.html $(srcdir)/structure.gif $(srcdir)/DOM.gif $(srcdir)/smallfootonly.gif $(srcdir)/redhat.gif $(srcdir)/libxml.gif $(srcdir)/w3c.png $(srcdir)/Libxml2-Logo-180x168.gif $(srcdir)/Libxml2-Logo-90x34.gif $(DESTDIR)$(HTML_DIR)
+ $(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/html
+ -@INSTALL@ -m 0644 $(srcdir)/html/*.html $(DESTDIR)$(HTML_DIR)/html
+ -@INSTALL@ -m 0644 $(srcdir)/html/*.png $(DESTDIR)$(HTML_DIR)/html
+ -@INSTALL@ -m 0644 $(srcdir)/html/index.sgml $(DESTDIR)$(HTML_DIR)/html
+ $(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/tutorial
-@INSTALL@ -m 0644 $(srcdir)/tutorial/*.* \
- $(DESTDIR)$(TARGET_DIR)/tutorial
- $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR)/tutorial/images
+ $(DESTDIR)$(HTML_DIR)/tutorial
+ $(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/tutorial/images
-@INSTALL@ -m 0644 $(srcdir)/tutorial/images/*.* \
- $(DESTDIR)$(TARGET_DIR)/tutorial/images
- $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR)/tutorial/images/callouts
+ $(DESTDIR)$(HTML_DIR)/tutorial/images
+ $(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/tutorial/images/callouts
-@INSTALL@ -m 0644 $(srcdir)/tutorial/images/callouts/*.* \
- $(DESTDIR)$(TARGET_DIR)/tutorial/images/callouts
+ $(DESTDIR)$(HTML_DIR)/tutorial/images/callouts
.PHONY : html xml templates scan
diff --git a/doc/examples/.cvsignore b/doc/examples/.cvsignore
index e0ef2ffd..00877b27 100644
--- a/doc/examples/.cvsignore
+++ b/doc/examples/.cvsignore
@@ -1,13 +1,13 @@
.memdump
Makefile.in
Makefile
-io1
+xpath1
parse1
parse2
+tree1
+tree2
+testWriter
reader1
reader2
reader3
-testWriter
-tree1
-tree2
-xpath1
+io1
diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
index fd846a8d..754e6638 100644
--- a/doc/examples/Makefile.am
+++ b/doc/examples/Makefile.am
@@ -1,8 +1,4 @@
# Beware this is autogenerated by index.py
-HTML_DIR=$(datadir)/doc
-DOC_MODULE=libxml2-$(VERSION)
-TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)/examples
-
INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I@srcdir@/include @THREAD_CFLAGS@ @Z_CFLAGS@
DEPS = $(top_builddir)/libxml2.la
LDADDS = @STATIC_BINARIES@ $(top_builddir)/libxml2.la @THREAD_LIBS@ @Z_LIBS@ $(ICONV_LIBS) -lm @WIN32_EXTRA_LIBADD@
@@ -16,17 +12,17 @@ index.html: examples.xml examples.xsl
-@(xsltproc examples.xsl examples.xml && echo "Rebuilt web page" && xmllint --valid --noout index.html)
install-data-local:
- $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR)
- -@INSTALL@ -m 0644 $(srcdir)/*.html $(srcdir)/*.c $(srcdir)/*.xml $(srcdir)/*.xsl $(srcdir)/*.res $(DESTDIR)$(TARGET_DIR)
+ $(mkinstalldirs) $(DESTDIR)$(HTML_DIR)
+ -@INSTALL@ -m 0644 $(srcdir)/*.html $(srcdir)/*.c $(srcdir)/*.xml $(srcdir)/*.xsl $(srcdir)/*.res $(DESTDIR)$(HTML_DIR)
-EXTRA_DIST=examples.xsl index.py test1.xml test2.xml test3.xml writer.xml examples.xml io1.res reader1.res reader3.res tree1.res tree2.res
+EXTRA_DIST=examples.xsl index.py test1.xml examples.xml test2.xml writer.xml test3.xml reader1.res reader3.res tree1.res tree2.res io1.res
-noinst_PROGRAMS=io1 parse1 parse2 reader1 reader2 reader3 testWriter tree1 tree2 xpath1
+noinst_PROGRAMS=xpath1 parse1 parse2 tree1 tree2 testWriter reader1 reader2 reader3 io1
-io1_SOURCES=io1.c
-io1_LDFLAGS=
-io1_DEPENDENCIES= $(DEPS)
-io1_LDADD= @RDL_LIBS@ $(LDADDS)
+xpath1_SOURCES=xpath1.c
+xpath1_LDFLAGS=
+xpath1_DEPENDENCIES= $(DEPS)
+xpath1_LDADD= @RDL_LIBS@ $(LDADDS)
parse1_SOURCES=parse1.c
parse1_LDFLAGS=
@@ -38,6 +34,21 @@ parse2_LDFLAGS=
parse2_DEPENDENCIES= $(DEPS)
parse2_LDADD= @RDL_LIBS@ $(LDADDS)
+tree1_SOURCES=tree1.c
+tree1_LDFLAGS=
+tree1_DEPENDENCIES= $(DEPS)
+tree1_LDADD= @RDL_LIBS@ $(LDADDS)
+
+tree2_SOURCES=tree2.c
+tree2_LDFLAGS=
+tree2_DEPENDENCIES= $(DEPS)
+tree2_LDADD= @RDL_LIBS@ $(LDADDS)
+
+testWriter_SOURCES=testWriter.c
+testWriter_LDFLAGS=
+testWriter_DEPENDENCIES= $(DEPS)
+testWriter_LDADD= @RDL_LIBS@ $(LDADDS)
+
reader1_SOURCES=reader1.c
reader1_LDFLAGS=
reader1_DEPENDENCIES= $(DEPS)
@@ -53,45 +64,30 @@ reader3_LDFLAGS=
reader3_DEPENDENCIES= $(DEPS)
reader3_LDADD= @RDL_LIBS@ $(LDADDS)
-testWriter_SOURCES=testWriter.c
-testWriter_LDFLAGS=
-testWriter_DEPENDENCIES= $(DEPS)
-testWriter_LDADD= @RDL_LIBS@ $(LDADDS)
-
-tree1_SOURCES=tree1.c
-tree1_LDFLAGS=
-tree1_DEPENDENCIES= $(DEPS)
-tree1_LDADD= @RDL_LIBS@ $(LDADDS)
-
-tree2_SOURCES=tree2.c
-tree2_LDFLAGS=
-tree2_DEPENDENCIES= $(DEPS)
-tree2_LDADD= @RDL_LIBS@ $(LDADDS)
-
-xpath1_SOURCES=xpath1.c
-xpath1_LDFLAGS=
-xpath1_DEPENDENCIES= $(DEPS)
-xpath1_LDADD= @RDL_LIBS@ $(LDADDS)
+io1_SOURCES=io1.c
+io1_LDFLAGS=
+io1_DEPENDENCIES= $(DEPS)
+io1_LDADD= @RDL_LIBS@ $(LDADDS)
tests: $(noinst_PROGRAMS)
@(echo > .memdump)
- @(./io1 > io1.tmp ; diff io1.tmp io1.res ; rm -f io1.tmp)
- @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0)
@(./parse1 test1.xml)
@(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0)
@(./parse2 test2.xml)
@(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0)
+ @(./tree1 test2.xml > tree1.tmp ; diff tree1.tmp tree1.res ; rm tree1.tmp)
+ @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0)
+ @(./tree2 > tree2.tmp ; diff tree2.tmp tree2.res ; rm tree2.tmp)
+ @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0)
+ @(./testWriter ; for i in 1 2 3 4 ; do diff writer.xml writer$$i.res ; done ; rm writer*.res)
+ @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0)
@(./reader1 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp)
@(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0)
@(./reader2 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp)
@(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0)
@(./reader3 > reader3.tmp ; diff reader3.tmp reader3.res ; rm reader3.tmp)
@(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0)
- @(./testWriter ; for i in 1 2 3 4 ; do diff writer.xml writer$$i.res ; done ; rm writer*.res)
- @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0)
- @(./tree1 test2.xml > tree1.tmp ; diff tree1.tmp tree1.res ; rm tree1.tmp)
- @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0)
- @(./tree2 > tree2.tmp ; diff tree2.tmp tree2.res ; rm tree2.tmp)
+ @(./io1 > io1.tmp ; diff io1.tmp io1.res ; rm -f io1.tmp)
@(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0)
diff --git a/doc/examples/examples.xml b/doc/examples/examples.xml
index 6fdf82c8..9c14221b 100644
--- a/doc/examples/examples.xml
+++ b/doc/examples/examples.xml
@@ -1,28 +1,39 @@
Reference Manual for libxml2
Table of Contents