private void getStartElement(String name) throws MiniXMLException {
		MiniXMLToken oMiniXMLToken;
		boolean bEnd = false;
		String attrName, attrValue;
		automaton.startElement(name);
		MiniXMLStartElement element = new MiniXMLStartElement(
				automaton.getStateInt(), name);
		// System.out.print("<" + name);
		do {
			oMiniXMLToken = oTokenParser.getToken();
			switch (oMiniXMLToken.getType()) {
			case MiniXMLTokenParser.tError:
				throw new MiniXMLException(
						MiniXMLException._MXMLE_TGE_START_ELEMENT);
			case MiniXMLTokenParser.tAttrName:
				attrName = oMiniXMLToken.getValue();
				oMiniXMLToken = oTokenParser.getToken();
				if (oMiniXMLToken.getType() == MiniXMLTokenParser.tAttrValue) {
					attrValue = oMiniXMLToken.getValue();
					element.put(attrName, attrValue);
					// System.out.print(" " + attrName + "=" + attrValue);
				} else
					bEnd = true;
				break;
			case MiniXMLTokenParser.tTagEnd:
				handler.startElement(element);
				// System.out.print(">" + oMiniXMLToken.getValue());
				bEnd = true;
				break;
			case MiniXMLTokenParser.tEmptyTagEnd:
				element.setTerminal();
				handler.startElement(element);
				handler.endElement(new MiniXMLEndElement(element.getStateID(),
						name));
				// System.out.print("/>" + oMiniXMLToken.getValue());
				bEnd = true;
				automaton.endElement(name);
				break;
			default:
				throw new MiniXMLException(
						MiniXMLException._MXMLE_TGE_UKNOWN_START_TOKEN);
			}
		} while (!bEnd);
	}