data/xslt/xml2xhtml.xsl (xsl:template match="/"): Precede an XHTML
authorWojciech Polak <polak@gnu.org>
Sat, 5 Jan 2008 22:28:44 +0000 (22:28 +0000)
committerWojciech Polak <polak@gnu.org>
Sat, 5 Jan 2008 22:28:44 +0000 (22:28 +0000)
document's title with the input grammar file name.

data/xslt/xml2xhtml.xsl

index e52ee07565ebcd67f55cdbd753e27f1bcb7245f3..85b97c348e8ce613e20a5b53226a2bfc20a24290 100644 (file)
@@ -4,7 +4,7 @@
     xml2html.xsl - transform Bison XML Report into XHTML.
     $Id$
 
-    Copyright (C) 2007 Free Software Foundation, Inc.
+    Copyright (C) 2007, 2008 Free Software Foundation, Inc.
 
     This file is part of Bison, the GNU Compiler Compiler.
 
 <xsl:template match="/">
   <html>
     <head>
-      <title>GNU Bison XML Automaton Report</title>
+      <title>
+       <xsl:value-of select="bison-xml-report/filename"/>
+       <xsl:text> - GNU Bison XML Automaton Report</xsl:text>
+      </title>
       <style type="text/css"><![CDATA[
       body {
         font-family: "Nimbus Sans L", Arial, sans-serif;
@@ -89,7 +92,7 @@
       GNU Bison <xsl:value-of select="/bison-xml-report/@version"/></a>
       XML Automaton Report, written by
       <a href="http://www.gnu.org.ua/~polak/" title="Wojciech Polak">Wojciech Polak</a>.
-      Copyright (C) 2007 Free Software Foundation, Inc.<br />
+      Copyright (C) 2007, 2008 Free Software Foundation, Inc.<br />
       Verbatim copying and distribution of this entire page is permitted
       in any medium, provided this notice is preserved.</div>
     </body>