@Override
	public void startElement (
			String uri,
			String localName,
			String qName,
			Attributes attr ) throws SAXException {
		String tag;
		if ( !qName.equals( "" ) ) {
			tag = qName;
		} else {
			tag = localName;
		}

		if ( tag.equals( Constants.xmlMenuStart ) ) {
			fValidFile = true;
		}

		// set to false with each starting element
		fValidEntry = false;

		// make sure it's a valid file before we start to process
		// must contain the <ramenu> at the start of the file
		if ( fValidFile ) {
			if ( tag.equals( Constants.xmlMenu ) ) {
				// we have a menu entry
				// pull out the attributes
				if ( attr.getLength() > 0 ) {
					String s;
					s = attr.getValue( Constants.xmlAtributePosition );
					if ( s != null ) {
						currentPosition = Integer.parseInt( s );
					}
					s = attr.getValue( Constants.xmlAttributeLabel );
					if ( (s != null) && (currentPosition != -1) ) {
						setLabel( currentPosition, s );
						// valid if we have a label and a position
						fValidEntry = true;
						// update the menu quantity count
						menuQty++;
					}
				}
			}
		}
	}