@dbrgn 
Is there a nice pythonic way to detect the last item in the for loop?
The visitor should only print the document separator after the first until the second last item, which is not the case now (but was with document_separator.join(taglist))