
Tag archives for XSD
Hi,
A post with concrete examples concerning the generation of Types/POJO from a XSD file, the serialization of these objects/POJO to XML and finally the validation of XML with XSD.
Generate Custom Types from XSD file
XSD file myXsdFile.xsd:
CSharp sources and types generator:
//....
After execution, a CSharp file MyCustomTypes.cs containing all types of XSD file is generated:
Serialization of objects to XML
Instantiation of POJO objects ...more»
After, my post concerning the XML parsing with JAXP (SAX and DOM APIs), here, I would present simple examples of validation XML stream with the JAXP (Java APIs for XML Processing) API which is a common interface for creating, parsing and manipulating XML documents using the standard SAX, DOM and XSLTs.
1. XML Validating
XML has become indispensable in Information Systems Architectures ...more»
