Re: [xml] Additional examples

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Fri Jun 23 2000 - 07:06:21 EDT


On Thu, Jun 22, 2000 at 10:57:29AM -0700, Joe McAlerney wrote:
>
> Hello,
>
> First of all, the existing documentation for libxml is great. I am
> religiously bound to the reference manual, and have read the examples in
> the documentation section. The problem is, I'm struggling to figure out
> which functions I should use and when. Are there any additional
> examples to look at out there? - Specifically ones that deal with
> throwing captured data into an XML doc?

  http://xmlsoft.org/#Building

gives a (admitedly small) example for building a document.
Most of the functions you need for manipulating (and extending)
a XML tree are in the "tree" module

  http://xmlsoft.org/gnome-xml-tree.html

like xmlNewChild() , xmlNewText() or xmlAddSibling()

> I'm _really_ not being lazy - I'm just trying to develop structure out
> of the flexibility of libxml, and avoid the guessing game.

  Looking at existing examples my prove useful, you can
brose the Gnome database for function use:

http://cvs.gnome.org/lxr/search?string=xmlAddChild

to locate code using a given function (but it's a bit slow),

Daniel

-- 
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | Today's Bookmarks :
Tel : +33 476 615 257  | 655, avenue de l'Europe | Linux XML libxml WWW
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | Gnome rpm2html rpmfind
 http://www.w3.org/People/all#veillard%40w3.org  | RPM badminton Kaffe
----
Message from the list xml@xmlsoft.org
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@xmlsoft.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:30:16 EDT