public String readText() throws IOException {
		StringBuilder builder = new StringBuilder();
		String marker = getMarker();

		if (mType == XMLNodeType.START_TAG) {
			next();
		}
		do {
			if (mType == XMLNodeType.TEXT) {
				if (builder.length() > 0) {
					builder.append(' ');
				}
				builder.append(getText());
				next();
			} else if (mType == XMLNodeType.START_TAG) {
				skipTag(getName());
			}
		} while (withinMarker(marker));
		return builder.toString();
	}