Implement most of DFXML Schema v1.1.0rfc1

Mainly reordering elements.