From 35a201cc8ef0c3f5b2df88d2e528aabee1048348 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Fri, 30 Apr 2021 18:47:09 +0200 Subject: Initial/Final commit --- libxml2-2.9.10/doc/tutorial/index.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 libxml2-2.9.10/doc/tutorial/index.html (limited to 'libxml2-2.9.10/doc/tutorial/index.html') diff --git a/libxml2-2.9.10/doc/tutorial/index.html b/libxml2-2.9.10/doc/tutorial/index.html new file mode 100644 index 0000000..51fd481 --- /dev/null +++ b/libxml2-2.9.10/doc/tutorial/index.html @@ -0,0 +1,14 @@ +Libxml Tutorial

Libxml Tutorial

John Fleck

Revision History
Revision 1June 4, 2002
Initial draft
Revision 2June 12, 2002
retrieving attribute value added
Revision 3Aug. 31, 2002
freeing memory fix
Revision 4Nov. 10, 2002
encoding discussion added
Revision 5Dec. 15, 2002
more memory freeing changes
Revision 6Jan. 26. 2003
add index
Revision 7April 25, 2003
add compilation appendix
Revision 8July 24, 2003
add XPath example
Revision 9Feb. 14, 2004
Fix bug in XPath example
Revision 7Aug. 24, 2004
Fix another bug in XPath example

Abstract

Libxml is a freely licensed C language library for handling + XML, portable across a large number of platforms. This + tutorial provides examples of its basic functions.

Introduction

Libxml is a C language library implementing functions for reading, + creating and manipulating XML data. This tutorial + provides example code and explanations of its basic functionality.

Libxml and more details about its use are available on the project home page. Included there is complete + API documentation. This tutorial is not meant + to substitute for that complete documentation, but to illustrate the + functions needed to use the library to perform basic operations. + +

The tutorial is based on a simple XML application I + use for articles I write. The format includes metadata and the body + of the article.

The example code in this tutorial demonstrates how to: +

  • Parse the document.

  • Extract the text within a specified element.

  • Add an element and its content.

  • Add an attribute.

  • Extract the value of an attribute.

+

Full code for the examples is included in the appendices.

-- cgit v1.2.3