Sha256: a6ebfb2ce7757676960a7c0fdc5ef6eb64e97d57c0eca4f5c2c202675d64063e

Contents?: true

Size: 1.87 KB

Versions: 66

Compression:

Stored size: 1.87 KB

Contents

<?xml version="1.0" encoding="utf-8"?>
<!--
  
  relax ng schema in compact syntax; this cannot be used within libxml but
  was used to write the schema as it's easier to understand
  
-->
<grammar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://relaxng.org/ns/structure/1.0">
  <start>
    <ref name="shiporder"/>
  </start>
  <define name="shiporder">
    <element name="shiporder">
      <attribute name="orderid"/>
      <attribute name="xsi:noNamespaceSchemaLocation"/>
      <ref name="orderperson"/>
      <ref name="shipto"/>
      <zeroOrMore>
        <ref name="item"/>
      </zeroOrMore>
    </element>
  </define>
  <define name="orderperson">
    <element name="orderperson">
      <text/>
    </element>
  </define>
  <define name="shipto">
    <element name="shipto">
      <ref name="name"/>
      <ref name="address"/>
      <ref name="city"/>
      <ref name="country"/>
    </element>
  </define>
  <define name="name">
    <element name="name">
      <text/>
    </element>
  </define>
  <define name="address">
    <element name="address">
      <text/>
    </element>
  </define>
  <define name="city">
    <element name="city">
      <text/>
    </element>
  </define>
  <define name="country">
    <element name="country">
      <text/>
    </element>
  </define>
  <define name="item">
    <element name="item">
      <ref name="title"/>
      <optional>
        <ref name="note"/>
      </optional>
      <ref name="quantity"/>
      <ref name="price"/>
    </element>
  </define>
  <define name="title">
    <element name="title">
      <text/>
    </element>
  </define>
  <define name="note">
    <element name="note">
      <text/>
    </element>
  </define>
  <define name="quantity">
    <element name="quantity">
      <text/>
    </element>
  </define>
  <define name="price">
    <element name="price">
      <text/>
    </element>
  </define>
</grammar>

Version data entries

66 entries across 66 versions & 6 rubygems

Version Path
smile-xml-1.0.5-java src/test/ruby/model/shiporder.rng
smile-xml-1.0.4-java src/test/ruby/model/shiporder.rng
libxml-ruby-2.9.0-x64-mingw32 test/model/shiporder.rng
libxml-ruby-2.9.0 test/model/shiporder.rng
libxml-ruby-2.8.0 test/model/shiporder.rng
dreamcat4-libxml-bindings-0.2.0 test/xml/shiporder.xls
dreamcat4-libxml-bindings-0.2.1 test/xml/shiporder.xls
libxml-ruby-2.7.0-x86-mingw32 test/model/shiporder.rng
libxml-ruby-2.7.0 test/model/shiporder.rng
libxml-ruby-2.6.0-x86-mingw32 test/model/shiporder.rng
libxml-ruby-2.6.0 test/model/shiporder.rng
libxml-ruby-2.5.0-x86-mingw32 test/model/shiporder.rng
libxml-ruby-2.5.0 test/model/shiporder.rng
libxml-ruby-2.4.0-x86-mingw32 test/model/shiporder.rng
libxml-ruby-2.4.0 test/model/shiporder.rng
smile-xml-1.0.2-jruby src/test/ruby/model/shiporder.rng
libxml-ruby-2.3.3-x86-mingw32 test/model/shiporder.rng
libxml-ruby-2.3.3 test/model/shiporder.rng
libxml-ruby-2.3.2 test/model/shiporder.rng
libxml-ruby-2.3.0-x86-mingw32 test/model/shiporder.rng