Re: merge and parse

"André Luís da Silva Monteiro" <[email protected]>
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
hi

I think the best way to do merging is to read the XML docs to merge in sequence, with unique instances of an XMLParser and an UserData, applying your merging rules (node ordering, replacement etc.) throughout parsing.

With XML_ParserReset() you can "clean up the memory structures maintained by the parser so that it may be used again".

regards
André Luís





 Tue, 11 Sep 2007 12:43:02 +0530, "Anoob Backer" <[email protected]> escreveu:

> hi all,
> 
> i would like to know the best method by which i can merge two or more files,
> parse and populate the custom objects using expat libs.
> 
> merging doesn't mean just appending two files instead it should done on
> content basis.
> 
> thanks
> bekz
> -- 
> http://www.kfives.com
> _______________________________________________
> Expat-discuss mailing list
> [email protected]
> http://mail.libexpat.org/mailman/listinfo/expat-discuss
> 
> 
> 


---Registre seu domínio .com ou .net por apenas R$15,00/ano e GANHE hospedagem, blog e e-mail grátis!LocaWeb - Soluções Completas em Serviços de Internet (www.locaweb.com.br)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.