private static String printXml(ArrayList<String[]> sList) {
		StringBuilder str = new StringBuilder();

		int k = 0;
		for (String[] s1 : sList) {
			if (!s1[0].equals("")) {
				if (s1[1].equals(XmlParser.TAG)) {
					for (int j = 0; j < k; j++) {
						str.append("\t");
					}
					k++;
					str.append("<" + s1[0] + ">" + "\n");
				}
				if (s1[1].equals(XmlParser.ELEMENT)) {
					for (int j = 0; j < k; j++) {
						str.append("\t");
					}
					str.append(s1[0] + "\n");
				}
				if (s1[1].equals(XmlParser.CLOSING_TAG)) {
					k--;
					for (int j = 0; j < k; j++) {
						str.append("\t");
					}
					str.append("</" + s1[0] + ">" + "\n");
				}
				if (s1[1].equals(XmlParser.PROCESS_INSTR)) {
					str.append(s1[0] + "\n\n");

				}
			}
		}

		System.out.println(str);

		return str.toString();
	}