@Override
	public String toString()
	{
		StringBuilder strB = new StringBuilder();

		
		if(isText())
		{
			strB.append("Text Element\n");
			
			strB.append("[");
			strB.append(text);
			strB.append("]");
		}
		else
		{
			strB.append("Element <");
			strB.append(name);
			strB.append(">\n");
		
			for(Entry<QName, String> e : attributes.entrySet())
			{
				strB.append("[");
				strB.append(e.getKey());
				strB.append(":");
				strB.append(e.getValue());
				strB.append("] ");
			}
		}

		return strB.toString();
	}