XR Specification
Last Update
10/16/2005; 1:29:10 AM
RELAX NG Compact Syntax
namespace xr = "http://w3future.com/xr/ns/"
start =
element xr:transform {
introducing*
}
introducing =
element xr:introducing {
select?,
resource
}
resource =
element * {
( uri | uriSelect )?,
property*
}
property =
element * {
( select, collectionType? )?,
( text | resource )?
}
uri =
attibute xr:uri { xsd:anyURI }
uriSelect =
attribute xr:uriSelect { xpath }
select =
attribute xr:select { xpath }
collectionType =
attribute xr:collectionType {
"bag" | "sequence" | "alternatives" | "collection"
}
xpath =
text