String ref = getAttribute(attrs, "ref");
String use = getAttribute(attrs, "use");
String type = getAttribute(attrs, "type");
SimpleType datatype = (type == null) ? null :
parseSimpleType(asQName(type, node));
Annotation annotation = null;
for (Node child = node.getFirstChild(); child != null;
child = child.getNextSibling())
{
String uri = child.getNamespaceURI();
String name = child.getLocalName();