public void startElement(String uri, String localName,String qName, 
			Attributes attributes) throws SAXException {

		//		System.out.println("Start Element :" + qName);

		if(searchElement)
		{
			if(qName.equalsIgnoreCase(elementName)){
				dataFound = true;
				throw new BreakSaxException("Data found");
			}
		}

		if(searchByValue){

			if( qName.equalsIgnoreCase("definition") && 
					searchVal.equalsIgnoreCase(attributes.getValue("name") )){
				inDefinition = true;
			}

			if(inDefinition && ("content".equalsIgnoreCase(attributes.getValue("name") ) 
					|| "page".equalsIgnoreCase(attributes.getValue("name") ) )){

				if(attributes.getValue("value")!=null ){
//					System.out.println(attributes.getValue("value"));
					retVal = attributes.getValue("value") ;
					throw new BreakSaxException("Data found");
				}
			}
		}
	}