public void startContent() throws XPathException {
if (foundHead) {
foundHead = false;
NamePool namePool = getNamePool();
nextReceiver.startContent();
String uri = (requiredURICode == 0 ? "" : NamespaceConstant.XHTML);
int metaCode = namePool.allocate("", uri, "meta");
nextReceiver.startElement(metaCode, StandardNames.XS_UNTYPED, 0, 0);
int httpEquivCode = namePool.allocate("", "", "http-equiv");
nextReceiver.attribute(httpEquivCode, StandardNames.XS_UNTYPED_ATOMIC, "Content-Type", 0, 0);
int contentCode = namePool.allocate("", "", "content");
nextReceiver.attribute(contentCode, StandardNames.XS_UNTYPED_ATOMIC, mediaType + "; charset=" + encoding, 0, 0);
nextReceiver.startContent();
droppingMetaTags = level;
seekingHead = false;
attributes = new AttributeCollectionImpl(getConfiguration());