# -*- rnc -*- # RELAX NG Compact Syntax Grammar for the # Atomsphere sort structuredExtension version 1.0 # # Although it is not required by the generator, # the entries in the document should be listed in the order of the sort element. # # here is an example of what the sort extension looks like in a document: # # ... # # # ... # # ... # namespace sort = "http://www.colorfulsoftware.com/projects/atomsphere/extension/sort/1.0" start = asc | desc # Ascending order asc = element sort:asc { attribute type { "updated" | "title" } } # Descending order desc = element sort:desc { attribute type { "updated" | "title" } }