Tagged document-managent