public static void printType(Node node)
	{
		System.out.print(node.getNodeName() + " type=");
		int type = node.getNodeType();
		switch (type)
		{
		case Node.COMMENT_NODE:
			System.out.println("COMMENT_NODE");
			break;
		case Node.DOCUMENT_FRAGMENT_NODE:
			System.out.println("DOCUMENT_FRAGMENT_NODE");
			break;
		case Node.DOCUMENT_TYPE_NODE:
			System.out.println("DOCUMENT_TYPE_NODE");
			break;
		case Node.ELEMENT_NODE:
			System.out.println("ELEMENT_NODE");
			break;
		case Node.ENTITY_NODE:
			System.out.println("ENTITY_NODE");
			break;
		case Node.ENTITY_REFERENCE_NODE:
			System.out.println("ENTITY_REFERENCE_NODE");
			break;
		case Node.NOTATION_NODE:
			System.out.println("NOTATION_NODE");
			break;
		case Node.PROCESSING_INSTRUCTION_NODE:
			System.out.println("PROCESSING_INSTRUCTION_NODE");
			break;
		case Node.TEXT_NODE:
			System.out.println("ENTITY_NODE");
			break;

		default:
			break;
		}
	}