primary { namespace test { list list http://www.w3.org/2001/XMLSchema#string union union http://www.w3.org/2001/XMLSchema#int http://www.w3.org/2001/XMLSchema#string enumeration enum: http://www.w3.org/2001/XMLSchema#string { enumerator male enumerator female } complex type { element efoo element ebar element ebaz any 'any #0' optional attribute afoo http://www.w3.org/2001/XMLSchema#string optional attribute abar { list http://www.w3.org/2001/XMLSchema#string } optional attribute abaz http://www.w3.org/2001/XMLSchema#string any-attribute 'any-attribute #0' [1, 1] sequence { [1, 1] element efoo http://www.w3.org/2001/XMLSchema#string [1, 1] element ebar { complex { element efoo optional attribute afoo http://www.w3.org/2001/XMLSchema#string [1, 1] sequence { [1, 1] element efoo http://www.w3.org/2001/XMLSchema#string } } } [1, 1] element ebaz http://www.w3.org/2001/XMLSchema#string [1, 1] any 'any #0' } } element ebaz http://www.w3.org/2001/XMLSchema#string attribute abaz http://www.w3.org/2001/XMLSchema#string } }