C struct to XML, XML Schema conversion



Hello,

I have the following problem: a have a lot of C structs and I'd like
to:

- generate a XML Schema from de structs definitions
- generate a XML with the content of a group os this structs loaded
with values

Does anyone know some library which does this?

Thank you in advance,
Estevao Rohr.

.



Relevant Pages

  • Re: C struct to XML, XML Schema conversion
    ... a have a lot of C structs and I'd like ... generate a XML Schema from de structs definitions ... savestruct(FILE *fp, &mystruct, struct mystructure) ... Simply write a tag containing the structure type, then a tag for each field, its contents, and a close tag, the close the structure tag. ...
    (comp.lang.c)
  • Re: C struct to XML, XML Schema conversion
    ... Estevao Rohr wrote: ... # I have the following problem: a have a lot of C structs and I'd like ... # - generate a XML with the content of a group os this structs loaded ... But I love gatherings. ...
    (comp.lang.c)