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
libxml-ruby-2.3.0 test/model/shiporder.rnc
libxml-fixed-jruby-1.0.0-jruby test/model/shiporder.rnc
libxml-jruby-fixed-1.0.0-jruby test/model/shiporder.rnc
libxml-ruby-2.2.2-x86-mingw32 test/model/shiporder.rnc
libxml-ruby-2.2.2 test/model/shiporder.rnc
libxml-ruby-2.2.1-x86-mingw32 test/model/shiporder.rnc
libxml-ruby-2.2.1 test/model/shiporder.rnc
libxml-ruby-2.2.0-x86-mingw32 test/model/shiporder.rnc
libxml-ruby-2.2.0 test/model/shiporder.rnc
libxml-ruby-2.1.2-x86-mingw32 test/model/shiporder.rnc
libxml-ruby-2.1.2 test/model/shiporder.rnc
libxml-ruby-2.1.1-x86-mingw32 test/model/shiporder.rnc
libxml-ruby-2.1.1 test/model/shiporder.rnc
libxml-ruby-2.1.0-x86-mingw32 test/model/shiporder.rnc
libxml-ruby-2.1.0 test/model/shiporder.rnc
libxml-ruby-2.0.9-x86-mingw32 test/model/shiporder.rnc
libxml-ruby-2.0.9 test/model/shiporder.rnc
libxml-ruby-2.0.6-x86-mingw32 test/model/shiporder.rnc
libxml-ruby-2.0.6 test/model/shiporder.rnc
libxml-ruby-2.0.5-x86-mingw32 test/model/shiporder.rnc