[Home] [By Thread] [By Date] [Recent Entries]

  • From: Boris Kolpackov <boris@c...>
  • To: xml-dev@l...
  • Date: Wed, 1 Aug 2007 13:05:31 +0000 (UTC)

Hi Jeremy,

"Jeremy H. Griffith" <jeremy@o...> writes:

> I'm looking for a parser library in C/C++ with which I can
> read fairly complex DTDs (like those for DITA and DocBook)
> and extract content models for all elements for further
> analysis and manipulation.

I know Xerces-C++ has robust DTD handling code with an
in-memory grammar model which I believe you can navigate.


> Doing the same for XSD schemas would be nice, but is less
> important.

Again, Xerces-C++ supports this. Or you can use our
libxsd-frontend[1] which is a compiler frontend for XML Schema.
It provides the XML Schema semantic graph as well as the
traversal mechanism. We use it in the implementation of
our XML Schema to C++ compiler[2].

[1] http://www.codesynthesis.com/projects/libxsd-frontend/
[2] http://www.codesynthesis.com/products/xsd/


hth,
-boris

-- 
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member