Thanks for your info and files, Farrell.

 

I didn't like Expat much, either. That's why I wanted to ask the expert
here. Your files are very small. I will try it to see if it can fit my
needs.

 

I finally made libxml2 compile for my device last Friday. The shared
library is big (1.2MB). It seems that libxml2 is very powerful. The
downside is that it's big, eats much memory. I will try both libxml2 and
ezxml.

 

Thanks again, Farrell.

 

Allen

 

________________________________

From: [email protected]
[mailto:[email protected]] On Behalf Of Farrell Aultman
Sent: Monday, March 23, 2009 10:29 AM
To: uClinux development list
Subject: Re: [uClinux-dev] XML support in uClinux?

 

I started out using Expat, but I didn't like they way the API works -
you write callback functions to handle the tags.  This type of coding
can get pretty messy and hard to debug.

I ended up using ezxml and I'm very happy with it.  It just has one
header file and one .c file that you compile/link with.  I wrote a
helper module to go with it that you may find helpful.  Just include
ezxml_ex.h and link to ezxml_ex.c and ezxml.c

Farrell 

On Thu, Mar 19, 2009 at 11:26 AM, Allen Yang <[email protected]>
wrote:

Hi,

I am using an ARM9 based microprocessor. I'd like to use XML file to
store some configuration data in NAND flash. JFFS2 file system is
currently used in my system.

Basically I'd like to read configuration data in the XML file, change
some data and then stored back to the XML file in the NAND flash.

The operation is like reading/writing an EEPROM. Since there is no EPROM
on my board and XML is more user-friendly, I'd like to try XML.

I did some searches on the internet and found 2 libraries: "Expat" and
"libxml2". Anybody has idea which one is better to meet my requirement?

Thanks in advance,

Allen

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to