private static void printElement(Element e) throws ParsingException
	{
		if(e.isText())
		{
			System.out.println("------------------------------------TEXT----------------------------------------");
			System.out.println(e.getText());
		}
		else
		{
			System.out.println("---------------------------------ELEMENT----------------------------------------");
			System.out.println(e.getName());
			
			Map<QName, String> attributes = e.getAllAttributes();
			if(attributes.size() > 0)
			{
				System.out.println();
				for(java.util.Map.Entry<QName, String> attr : attributes.entrySet())
				{
					System.out.println(attr.getKey() + ":" + attr.getValue());
				}
			}
		}
		
		System.out.println("--------------------------------------------------------------------------------");
		System.out.println();
	}