November 07, 2006
XML Wrangling
XML is famous for flexibility, but equally famous for verbosity. If you're tired of slogging through data structures, then Jim Kent has a quartet of C-based tools that are sure to come in handy: autoXml automates mapping between C and XML data structures. autoXml also lets you iterate through data structures from the XML file without having to load the entire file into memory first. AutoDtd will generate a DTD from an source XML file, as well as an "attributed tree" and a summary of the data in the source file. sqlToXml generates the XML version of a relational database, and xmlToSql does the reverse. In true Dr. Dobb's fashion, all of the source code is available for download.
Posted by John Dorsey at 09:24 PM Permalink
|