[xsd-users] Boost date customization in xsd

vherard at alphasqr.com vherard at alphasqr.com
Wed May 13 08:36:50 EDT 2009




   I   someone o   the custom    provide that takes    simple_type base class is 
   W   output.    serialization output.
   W   it shoul   error.<
-------------- next part --------------
<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSpy v2009 (http://www.altova.com) by Michael Edward Rose (Alpha Square LLC) -->
<!--Created with Liquid XML Studio - 30 Day Trial Edition 7.0.5.906 (http://www.liquid-technologies.com)-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:include schemaLocation="types.xsd"/>
	<xs:include schemaLocation="arrays.xsd"/>
	<xs:complexType name="xsd_calendar_t">
		<xs:all>
			<xs:element name="country" type="xsd_name_t" minOccurs="0"/>
			<xs:element name="city" type="xsd_name_t" minOccurs="0"/>
			<xs:element name="exchange" type="xsd_name_t" minOccurs="0"/>
			<xs:element name="holidays" type="xsd_date_array_t"/>
		</xs:all>
		<xs:attribute name="name" type="xsd_name_t" use="optional"/>
	</xs:complexType>
	<xs:element name="xsd_calendar" type="xsd_calendar_t"/>
</xs:schema>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xml-schema-custom.cxx
Type: text/x-c++
Size: 1527 bytes
Desc: not available
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20090513/e5a6d73b/xml-schema-custom.bin
-------------- next part --------------
<?xml version="1.0" ?><session><?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<xsd_calendar name="NYK">

  <country>United States Of America</country>

  <city>New York</city>

  <holidays>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   </holidays>

</xsd_calendar>
</session>


More information about the xsd-users mailing list