private void startSchemaElement(String name, Attributes attrs) {
		// if isNewSchemaElement is true tag is new element definition
		boolean isNewSchemaDefault = false;
		// find out if tag is new element definition
		if (name == "xs:element") {
			defStack.push(attrs.getValue(0));
			if (1 == attrs.getLength()) {
				isNewSchemaDefault = true;
			} else if (attrs.getValue(0).equals("slide")
					|| attrs.getValue(0).equals("quizslide")) {
				isNewSchemaDefault = true;
			}
		}
		// TODO:very specific to this schema is there a way to generalise?
		if (isNewSchemaDefault) {
			// if its new create a new default element
			createNewDefault(attrs);
		} else if (name.equals("xs:attribute") && attrs.getLength() == 2) {
			if (attrs.getQName(1).equals("default")) {
				// must assign a default to an element
				setSchemaDefault(attrs);
			}
		}
	}