With XSD/e you can have all the benefits of using XML without any of the drawbacks.Your application stays small and fast and the code you write will be enjoyable to work with. This will start creating DOM objects as it parses the document - wasteful if you aren't going to use them. You should not use the DOMParser to validate a document (unless your goal is to create a document object model anyway).XSD/e has been successfully used in the following mobile and embedded application domains: XSD/e supports several distinct methods, called mappings, for manipulating the data stored in XML.The C /Hybrid mapping creates a light-weight, tree-like object model of the XML data as shown in the code fragment above.In addition to the parsing interfaces, the API provides an XSLT interface to provide data and structural transformations on an XML document.
As of today, no less than six extensions to the Java Platform empower the developer when building XML-based applications: The first of the three articles in this series gave an overview of the different APIs available to the developer by presenting some sample programs.
Code Synthesis XSD/e is an open-source, dependency-free XML Schema to C compiler for mobile, embedded, and light-weight applications.
It provides XML parsing, serialization, XML Schema validation and XML data binding while maintaining a small footprint and portability.
Alternatively, you can forego the in-memory representation and process the data as it becomes available using the lower-level C /Parser (for XML parsing) and C /Serializer (for XML serialization) mappings.
The C /Hybrid mapping also supports the hybrid, partially in-memory, partially event-driven processing model which allows you to load/save XML documents a small fragment at a time.