From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.62)
	(envelope-from <gentoo-user+bounces-64540-garchives=archives.gentoo.org@gentoo.org>)
	id 1Hsy2A-0007Bq-1Z
	for garchives@archives.gentoo.org; Tue, 29 May 2007 09:30:30 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l4T9TDJl005506;
	Tue, 29 May 2007 09:29:13 GMT
Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.238])
	by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l4T9P7KT000932
	for <gentoo-user@lists.gentoo.org>; Tue, 29 May 2007 09:25:08 GMT
Received: by wr-out-0506.google.com with SMTP id 76so588529wra
        for <gentoo-user@lists.gentoo.org>; Tue, 29 May 2007 02:25:07 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed;
        d=gmail.com; s=beta;
        h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=uUXSKtdfocZpLXW8mYLGK+3nB4CleffKtxGs6x2kORNdh2PuyfaoE/Vet+MkdBPiJzAAyikUTm7LyIHzng5PBetTWjQpqTeivvM7k57qzdOXwZ0SfFrGPeEs+wMIwCnnIdHC1B1bMW+DfDmTF7bpE0q+rT2Vcmm9Qyo5+x/nHMA=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=beta;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=E38Hc7Zg24qbmE89s7iGzemi1NNNhqNtkAIMn5p3PzuXJ/3+kKtHRkALBfJ6TUX/xlR6gXkyJkA3uRdOfaCXXitoeGYAlOVeeS0nSjy3/92tNOWQfZPsY8YfI4iONr4XSymsYIqG7t5VO6BPZjHPUiexPM+FUk15i4gceh1zDeA=
Received: by 10.143.41.12 with SMTP id t12mr206040wfj.1180430706670;
        Tue, 29 May 2007 02:25:06 -0700 (PDT)
Received: by 10.142.83.14 with HTTP; Tue, 29 May 2007 02:25:06 -0700 (PDT)
Message-ID: <d5cfc3af0705290225h7496410br1878e2e57405acce@mail.gmail.com>
Date: Tue, 29 May 2007 11:25:06 +0200
From: Galevsky <galevsky@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] OT: An XML Question
In-Reply-To: <AA0639A1EB70AE409130258CE7BDC3183237F7@messenger.cv63.navy.mil>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <AA0639A1EB70AE409130258CE7BDC3183237F7@messenger.cv63.navy.mil>
X-Archives-Salt: b181cbbf-9ae2-4b05-a27a-56fc18103b34
X-Archives-Hash: f7b58d1caf1c32ca68d29732dcb6b6fa

Well, a "man libxml2" gives you all that you need:

 Documentation   for   libxml   is   available   on-line   at
     http://www.xmlsoft.org/

;o)

Gal'

2007/5/29, burlingk@cv63.navy.mil <burlingk@cv63.navy.mil>:
>
>
> > -----Original Message-----
> > From: Galevsky [mailto:galevsky@gmail.com]
> > Sent: Tuesday, May 29, 2007 4:21 PM
> > To: gentoo-user@lists.gentoo.org
> > Subject: Re: [gentoo-user] OT: An XML Question
> >
> >
> > Hi,
> >
> > you can learn the xml concepts at http://www.w3schools.com/.
> > Then, depending on the language you choose, there is lots of
> > libs to deal with xml in many languages. Though you always
> > have two different ways of parsing your xml file: a SAX
> > parser approach, that runs on an element-by-element process,
> > retrieving each element with no view on the next ones. The
> > second way is a DOM object builder, parsing the xml file as a
> > whole, then giving you back the whole tree as an object that
> > can browse later with a set of methods. The later is faster
> > to get all the information of the xml, but takes more memory
> > since the whole xml tree must be built first. You have to
> > look for the libs of your language now for further details,
> > but the choice between the two is crucial. I remind a
> > Xmlchecker java tool I wrote to run no-diff tests.... I
> > implemented first with jdom, and it was good..... until I had
> > to deal with 300 Mb files ... and rewrite the whole browsing
> > engine with SAX.
> >
> > Gal'
> >
> >
> > 2007/5/29, burlingk@cv63.navy.mil <burlingk@cv63.navy.mil>:
> > >
> > >
> > > Are there any really  good XML tutorials on the web, or
> > perhaps a book
> > > that is actually  useful?
> <snip>
>
> Thanks for the info!
> I think I may look into the DOM approach. ^_^
> Does(do?) libxml or libxml2 have a DOM interface?  I know that
> libxml2 is already on the system (part of the base install), so
> it may be a good place to look. :)  Does anyone know of a good
> tutorial site with a .org or .edu web address?  The firewall I
> am stuck behind at the moment has some funky restrictions. :P
>
> ^_^
>
> --
> gentoo-user@gentoo.org mailing list
>
>
-- 
gentoo-user@gentoo.org mailing list