Sha256: 01fea4d93216e58f030ab421d46db55212d349f0774637111d6817fceed1d009

Contents?: true

Size: 941 Bytes

Versions: 13

Compression:

Stored size: 941 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

13 entries across 13 versions & 2 rubygems

Version Path
libxml-ruby-3.2.2-x64-mingw32 test/model/shiporder.rnc
libxml-ruby-3.2.2-x64-mingw-ucrt test/model/shiporder.rnc
libxml-ruby-3.2.2 test/model/shiporder.rnc
libxml-ruby-3.2.1-x64-mingw32 test/model/shiporder.rnc
libxml-ruby-3.2.1 test/model/shiporder.rnc
libxml-ruby-3.2.0 test/model/shiporder.rnc
libxml-ruby-3.2.0-x64-mingw32 test/model/shiporder.rnc
libxml-ruby-3.1.0-x64-mingw32 test/model/shiporder.rnc
libxml-ruby-3.1.0 test/model/shiporder.rnc
libxml-ruby-3.0.0-x64-mingw32 test/model/shiporder.rnc
libxml-ruby-3.0.0 test/model/shiporder.rnc
smile-xml-1.0.3-java src/test/ruby/model/shiporder.rnc
smile-xml-1.0.3-jruby src/test/ruby/model/shiporder.rnc