Update content.xsl documentation
Move generic stuff to its own module