I'm a little uncomfortable with attributeGroup and anyType with restriction. Is the following simple version correct?
<xs:complexType name="datetype">
<xs:attribute name="start" type="xs:date"/>
<xs:attribute name="obs" type="xs:positiveInteger"/>
<xs:attribute name="end"...
Thanks. If I change xs:all to xs:sequence as below, everything is correct?
<xs:complexType name="requesttype">
<xs:sequence>
<xs:element name="date" type="datetype"/>
<xs:element name="marketdata" type="marketdatatype" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>...
This is my first time writing xsd file. Could someone please tell me if everything is correct? Thanks.
<?xml version="1.0" encoding="ISO-8859-1" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:simpleType name="booltype">
<xs:restriction base="xs:string">...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.