OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   [ANN] xsd - open source XML Schema to C++ translator

[ Lists Home | Date Index | Thread Index ]


We would like to announce the availability of xsd, a cross-platform,
open source W3C XML Schema to C++ translator. Given an XML instance
description (XML Schema), it generates C++ classes that represent the
given vocabulary as well as parsing and serialization code (collectively
called a mapping or binding):

http://codesynthesis.com/products/xsd/


Compared to APIs such as DOM and SAX, the generated code allows you
to access the information in XML instance documents using your domain
vocabulary instead of generic elements, attributes, and text. Static
typing helps catch errors at compile-time rather than at run-time.
Automatic code generation frees you for more interesting tasks while
minimizing the effort needed to adopt your applications to changes
in the document structure.

xsd supports two C++ mappings: in-memory C++/Tree and event-driven
C++/Parser. The C++/Tree mapping consists of C++ classes that represent
data types defined in XML Schema, a set of parsing functions that convert
XML instance documents to a tree-like in-memory data structure, and a set
of serialization functions that convert the in-memory representation back
to XML. For an introduction to the C++/Tree mapping, refer to the C++/Tree
Mapping Quick Guide:

http://codesynthesis.com/projects/xsd/documentation/cxx/tree/quick-guide/


The C++/Parser mapping provides parser templates for data types defined
in XML Schema. Using these parser templates you can build your own
in-memory representations or perform immediate processing of XML instance
documents. For an introduction to the C++/Parser mapping, refer to the
C++/Parser Mapping Quick Guide:

http://codesynthesis.com/projects/xsd/documentation/cxx/parser/quick-guide/


xsd features C++ standard library-based language mappings, configurable
base character type (char/wchar_t), platform-independent generated code,
comprehensive documentation, and more.

xsd runs on a range of platforms, including GNU/Linux, Windows, Mac OS X,
and Solaris. Supported C++ compilers include GNU g++ (3.3, 3.4, 4.0), Intel
C++ 8.1, Sun C++ 5.7 (Studio 10) and 5.8 (Studio 11), Microsoft Visual
C++ 7.1 (Visual Studio .NET 2003) and 8 (Visual Studio 2005).


We apologize if you have received more than one copy of this announcement.





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS