(DomDocument * document, TokenSink sink)
Tokens go to sink; the tag names are interned in document
sink
document