Use correct reference for default value (instead of hard coded 5)
XSLT to generate manual reference from schema

- handle complexTypes, refs and attributes
- output attributes before inner elements
- output options in sorted order.
- normalize space from documentation node
Loads of Schema fixes/improvement.

  - copy documentation from manual reference to schema
  - identified undocumented options
  - added defaults to schema when possible
  - fix: some required elements lacked minOccurs=1
  - changed <sequence> -> <all> where possible
map file name
xslt