}
static void usage(BufferedWriter out, SchemaManager schema, ExtendedReferenceTypeDefinition td) throws IOException {
// We have to determine the usage from the internally generated type
TypeDefinition internalType = schema.findInternalType(td.getName());
ArrayList<DmwWrapper> referring = internalType.getReferringObjects();
// There's always one reference because the schema refers to its complex types
if ( (referring != null) && (referring.size() > 1) ){
// if (referring != null){
TreeMap<StringName,AttributeDefinition> attributes = new TreeMap<StringName, AttributeDefinition>();