you are probably affected by bug #929478 which in the release notes
says:
====
The custom database stylesheet is not displayed when viewing database
documents. Workaround: Change the stylesheet XSL command to put the
version number at the end instead of before the name of the
stylesheet, as in this line: <xsl:stylesheet xmlns:xsl="http://
www.w3.org/1999/XSL/Transform" version="1.0">
====
Brian