Element output = xsl.createElementNS(XSLNS, "xsl:output");
parent.appendChild(output);
output.setAttribute("media-type", buf.toString());
delimScanner.skip(cursor);
buf.clear();
delimScanner.scan(cursor, buf);
wsScanner.skip(cursor);
if (cursor.current() == '=' && buf.toString().equals("charset")) {
delimScanner.skip(cursor);
buf.clear();