Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] XML Parser

From: Peter Ross <pross@xxxxxxxx>
Date: Wed, 24 Sep 2008 19:14:57 +1000
On Mon, Sep 22, 2008 at 04:48:42PM +0200, Luis EG Ontanon wrote:
[...]
> If there was an XML framework that given an XSL or DTD and a
> conformance file generated C-code to extract data into user defined
> C-structs, I'd certainly had used it...  (there's a plethora of
> similar tools for ASN.1). No such tool found yet arround...

http://sourceforge.net/projects/flexml
(Nb: DTD only. Includes a markup language for declaring the parser, but
 I have never used it).

flexml schema.dtd
lex schema.l
gcc lex.yy.c main.c

Cheers,
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)

Attachment: signature.asc
Description: Digital signature