private void print(Attributes attrs) {
		if (attrs == null)
			return;
		System.err.print("[");
		for (int i = 0; i < attrs.getLength(); i++) {
			System.err.print(attrs.getQName(i) + " = " + attrs.getValue(i));
			if (i != attrs.getLength() - 1) {
				System.err.print(", ");
			}
		}
		System.err.println("]");
	}