public void render() {
		text.setAttribute("x", Double.toString(x));
		text.setAttribute("y", Double.toString(y));
		NodeList textParts = text.getElementsByTagName("tspan");
		for (int pIter = 0; pIter < textParts.getLength(); pIter++) {
			Element textPart = (Element) textParts.item(pIter);
			textPart.setAttribute("x", Double.toString(x));
		}
		if (isMarked()) {
			text.setAttribute("style", "text-anchor:" + textAnchor);
			for (int pIter = 0; pIter < textParts.getLength(); pIter++) {
				Element textPart = (Element) textParts.item(pIter);
				textPart.setAttribute("style", "text-anchor:" + textAnchor);
			}
		} else {
			text.setAttribute("style", "text-anchor:" + textAnchor + ";");
			for (int pIter = 0; pIter < textParts.getLength(); pIter++) {
				Element textPart = (Element) textParts.item(pIter);
				textPart.setAttribute("style", "text-anchor:" + textAnchor);
			}
		}
	}