BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

XML Decoding

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage)
View previous topic :: View next topic  
Author Message
David Lewis
Guest





PostPosted: Wed Feb 08, 2006 12:00 pm    Post subject: XML Decoding Reply with quote



I am looking to find a component to allow me to decode/parse xml files into a data structure.

The only one that I've managed to find is one from Icom:
http://www.icom-dv.de/download/uk_download.php3
and this one seems to suffer from quite a major memory leak. Not a great issue if parsing one or two files, but when you need to decode lots of xml it builds up and ultimately fails.

Does anyone know of any other component that is usable?

I don't need anything complex. Just to be able to decode a simple XML file made up of a relatively simple data structure. I don't necessarily even need validation as I can guarantee the integrity of the file. I just need to extract the data from it in a short space of time.
Back to top
James Kosin
Guest





PostPosted: Wed Feb 08, 2006 1:04 pm    Post subject: Re: XML Decoding Reply with quote



David Lewis wrote:
Quote:
I am looking to find a component to allow me to decode/parse xml files into a data structure.

The only one that I've managed to find is one from Icom:
http://www.icom-dv.de/download/uk_download.php3
and this one seems to suffer from quite a major memory leak. Not a great issue if parsing one or two files, but when you need to decode lots of xml it builds up and ultimately fails.

Does anyone know of any other component that is usable?

I don't need anything complex. Just to be able to decode a simple XML file made up of a relatively simple data structure. I don't necessarily even need validation as I can guarantee the integrity of the file. I just need to extract the data from it in a short space of time.

Are you wanting to extract only a few bits of information? or are you
looking for something to parse the whole file and give you a filled data
structure?

I do have some code I wrote that goes through a XML file to extract a
specific pieces of information.... although not a component.

Let me know,
James Kosin
Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Wed Feb 08, 2006 9:05 pm    Post subject: Re: XML Decoding Reply with quote



"David Lewis" <Psychic@Sleeping-Dragons.co.uk> wrote in message
news:43e9ccec$1 (AT) newsgroups (DOT) borland.com...

Quote:
I am looking to find a component to allow me to decode/parse
xml files into a data structure.

Which version of BCB are you using? BCB 6 ships with XML support, via a
TXMLDocument component. There is also a Data Binding Wizard that creates
wrapper classes for processing defined XML structures, such as from an XML
schema.

Quote:
The only one that I've managed to find is one from Icom:
http://www.icom-dv.de/download/uk_download.php3

I use libxml2 myself in both BCB 5 and 6. It works very well -
http://www.xmlsoft.org

Quote:
I don't need anything complex. Just to be able to decode a simple
XML file made up of a relatively simple data structure.

If it is so simple, then why not just parse the strings manually?


Gambit
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.