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
libxml-ruby-2.0.4 test/model/shiporder.rng
libxml-ruby-2.0.3-x86-mingw32 test/model/shiporder.rng
libxml-ruby-2.0.3 test/model/shiporder.rng
libxml-ruby-2.0.2-x86-mingw32 test/model/shiporder.rng
libxml-ruby-2.0.2 test/model/shiporder.rng
libxml-ruby-2.0.0-x86-mingw32 test/model/shiporder.rng
libxml-ruby-2.0.0 test/model/shiporder.rng
libxml-ruby-r19mingw-1.1.4 test/model/shiporder.rng
libxml-ruby-1.1.4 test/model/shiporder.rng
libxml-ruby-1.1.4-x86-mswin32-60 test/model/shiporder.rng
coupa-libxml-ruby-1.1.4 test/model/shiporder.rng
libxml4r-0.2.6 test/xml/shiporder.xls
libxml-ruby-1.1.0-x86-mswin32-60 test/model/shiporder.rng
libxml-ruby-1.1.0 test/model/shiporder.rng
libxml-ruby-1.0.0-x86-mswin32-60 test/model/shiporder.rng
libxml-ruby-1.0.0 test/model/shiporder.rng
libxml-ruby-0.9.9-x86-mswin32-60 test/model/shiporder.rng
libxml-ruby-0.9.8-x86-mswin32-60 test/model/shiporder.rng
libxml-ruby-0.9.8 test/model/shiporder.rng
libxml-ruby-0.9.9 test/model/shiporder.rng