From: Norman W. <nw...@us...> - 2002-07-03 23:23:12
|
Update of /cvsroot/docbook/xsl/html In directory usw-pr-cvs1:/tmp/cvs-serv6152 Modified Files: docbook.xsl Log Message: Feature Req #502932: added root.messages template for user defined messages Index: docbook.xsl =================================================================== RCS file: /cvsroot/docbook/xsl/html/docbook.xsl,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -r1.18 -r1.19 *** docbook.xsl 9 Jun 2002 11:00:40 -0000 1.18 --- docbook.xsl 3 Jul 2002 23:23:07 -0000 1.19 *************** *** 285,288 **** --- 285,291 ---- <xsl:template match="*" mode="process.root"> <xsl:variable name="doc" select="self::*"/> + + <xsl:call-template name="root.messages"/> + <html> <head> *************** *** 305,308 **** --- 308,316 ---- </body> </html> + </xsl:template> + + <xsl:template name="root.messages"> + <!-- redefine this any way you'd like to output messages --> + <!-- DO NOT OUTPUT ANYTHING FROM THIS TEMPLATE --> </xsl:template> |