Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

XML parser

Altera_Forum
Honored Contributor II
1,437 Views

Does anybody know a small xml parser or/and a small lib for that? 

i just found Markup but i have problems using it because of iconv.h :/ 

 

mfg sven
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
737 Views

expat is what I would use. Though I've never actually tried to get it working on Nios II Linux/uClinux, it's great to use on PC-based Linux. 

 

- slacker
0 Kudos
Altera_Forum
Honored Contributor II
737 Views

is there a good "how to" how to implement libarys into uclinux?

0 Kudos
Altera_Forum
Honored Contributor II
737 Views

found the expat lib in uclinux and the possibility to compile the examples but my folder "expat-examples" is empty 

 

does that tell me it doesn't work or what's the meaning?
0 Kudos
Altera_Forum
Honored Contributor II
737 Views

We are using TinyXml and I find it awesome (sourceforge.net/projects/tinyxml). It's basically 4 C++ files and 2 header files that you can drop into your project and compile with your code. I found it the simplest approach and never had any problem with it. 

 

Mfg, 

 

Ricardo
0 Kudos
Altera_Forum
Honored Contributor II
737 Views

Ok TinyXml works! :) 

Thanks you saved my day 

expat took some of my nerves
0 Kudos
Reply