Sha256: 9175dd3ef6142813e71791e4d98476ff1f3dba20c7cc37581ead4aad110016c3

Contents?: true

Size: 913 Bytes

Versions: 87

Compression:

Stored size: 913 Bytes

Contents

#
# relax ng schema in compact syntax; this cannot be used within libxml but
# was used to write the schema as compact syntax makes it easier to handle.
# relax ng schema in xml syntax was created using trang.
#
namespace xsi = "http://www.w3.org/2001/XMLSchema-instance"

start = shiporder

shiporder  = element shiporder { attribute orderid { text }, 
                                 attribute xsi:noNamespaceSchemaLocation { text }, 
                               orderperson, shipto, item* }

orderperson = element orderperson { text }

shipto = element shipto { name, address, city, country }

name = element name { text }
address = element address { text }
city = element city { text }
country = element country { text }

item = element item { title, note?, quantity, price }

title = element title { text }
note = element note { text }
quantity = element quantity { text }
price = element price { text }

Version data entries

87 entries across 87 versions & 7 rubygems

Version Path
smile-xml-1.0.5-java src/test/ruby/model/shiporder.rnc
smile-xml-1.0.4-java src/test/ruby/model/shiporder.rnc
libxml-ruby-2.9.0-x64-mingw32 test/model/shiporder.rnc
libxml-ruby-2.9.0 test/model/shiporder.rnc
libxml-jruby-modified-1.0.2-jruby test/model/shiporder.rnc
libxml-jruby-modified-1.0.1-jruby test/model/shiporder.rnc
libxml-ruby-2.8.0 test/model/shiporder.rnc
libxml-ruby-2.7.0-x86-mingw32 test/model/shiporder.rnc
libxml-ruby-2.7.0 test/model/shiporder.rnc
libxml-ruby-2.6.0-x86-mingw32 test/model/shiporder.rnc
libxml-ruby-2.6.0 test/model/shiporder.rnc
libxml-ruby-2.5.0-x86-mingw32 test/model/shiporder.rnc
libxml-ruby-2.5.0 test/model/shiporder.rnc
libxml-ruby-2.4.0-x86-mingw32 test/model/shiporder.rnc
libxml-ruby-2.4.0 test/model/shiporder.rnc
smile-xml-1.0.2-jruby src/test/ruby/model/shiporder.rnc
libxml-ruby-2.3.3-x86-mingw32 test/model/shiporder.rnc
libxml-ruby-2.3.3 test/model/shiporder.rnc
libxml-ruby-2.3.2 test/model/shiporder.rnc
libxml-ruby-2.3.0-x86-mingw32 test/model/shiporder.rnc