Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

XML parser

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

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Ok TinyXml works! :)

    Thanks you saved my day

    expat took some of my nerves