00001 <?xml version="1.0" encoding="UTF-8" ?> 00002 <!-- $Id: index.xsl,v 1.1 2004/01/13 11:14:08 ensonic Exp $ 00003 * @file index.xsl 00004 * @author Stefan Kost <ensonic@users.sf.net> 00005 * @date Tue Jan 13 11:34:28 MET 2004 00006 * 00007 * @brief style sheet for mini-docbook to html transformation 00008 * @ingroup gitkcoreserver 00009 * 00010 --> 00011 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 00012 00013 <xsl:output method="html" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/> 00014 00015 <xsl:template match="/book"> 00016 <html> 00017 <xsl:apply-templates/> 00018 </html> 00019 </xsl:template> 00020 00021 <xsl:template match="/book/bookinfo"> 00022 <head> 00023 <title><xsl:value-of select="title"/></title> 00024 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 00025 </head> 00026 </xsl:template> 00027 00028 <xsl:template match="@*|node()"> 00029 <xsl:copy> 00030 <xsl:apply-templates select="@*|node()"/> 00031 </xsl:copy> 00032 </xsl:template> 00033 00034 </xsl:stylesheet>