private void appendDataElement(Node node, StringBuffer buf, String value, String line_ending) {
		if (value == null || value.length() <= TEXT_THRESHOLD) {
			return;
		}
		indent(node, buf);
		buf.append("\t");
		buf.append("<").append(ELEMENT_DATA).append(">");
		XMLTools.writeCDATA(buf, value);
		buf.append("</").append(ELEMENT_DATA).append(">").append(line_ending);
	}