public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* RE: [gentoo-user] OT: An XML Question
@ 2007-05-29  9:15 99% burlingk
  0 siblings, 0 replies; 1+ results
From: burlingk @ 2007-05-29  9:15 UTC (permalink / raw
  To: gentoo-user



> -----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



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2007-05-29  9:15 99% [gentoo-user] OT: An XML Question burlingk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox