Sha256: 72df856a4001a10f00a9253f60de3cec3bda66f672ab9efc260eb7a577e9176a

Contents?: true

Size: 1.53 KB

Versions: 11

Compression:

Stored size: 1.53 KB

Contents

<?xml version="1.0" encoding="iso-8859-1" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="shiporder" type="shiporder"/>

  <xs:complexType name="shiporder">
    <xs:annotation>
      <xs:documentation>Shiporder type documentation</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="orderperson" type="xs:string">
        <xs:annotation>
          <xs:documentation>orderperson element documentation</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="shipto">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="name" type="xs:string"/>
            <xs:element name="address" type="xs:string"/>
            <xs:element name="city" type="xs:string"/>
            <xs:element name="country" type="xs:string"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="item" maxOccurs="unbounded">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="title" type="xs:string"/>
            <xs:element name="note" type="xs:string" minOccurs="0"/>
            <xs:element name="quantity" type="xs:positiveInteger"/>
            <xs:element name="price" type="xs:decimal"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="orderid" type="xs:string" use="required"/>
    <xs:attribute name="foo" default="1" type="xs:integer" use="optional"/>
    <xs:attribute name="bar" use="prohibited"/>
  </xs:complexType>
</xs:schema>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
libxml-ruby-2.9.0-x64-mingw32 test/model/shiporder.xsd
libxml-ruby-2.9.0 test/model/shiporder.xsd
libxml-ruby-2.8.0 test/model/shiporder.xsd
libxml-ruby-2.7.0-x86-mingw32 test/model/shiporder.xsd
libxml-ruby-2.7.0 test/model/shiporder.xsd
libxml-ruby-2.6.0-x86-mingw32 test/model/shiporder.xsd
libxml-ruby-2.6.0 test/model/shiporder.xsd
libxml-ruby-2.5.0-x86-mingw32 test/model/shiporder.xsd
libxml-ruby-2.5.0 test/model/shiporder.xsd
libxml-ruby-2.4.0-x86-mingw32 test/model/shiporder.xsd
libxml-ruby-2.4.0 test/model/shiporder.xsd