data/xslt/xml2xhtml.xsl (xsl:template match="/"): Precede an XHTML

document's title with the input grammar file name.
This commit is contained in:
Wojciech Polak
2008-01-05 22:28:44 +00:00
parent 327cd1f209
commit 3a74df7a5b

View File

@@ -4,7 +4,7 @@
xml2html.xsl - transform Bison XML Report into XHTML. xml2html.xsl - transform Bison XML Report into XHTML.
$Id$ $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. This file is part of Bison, the GNU Compiler Compiler.
@@ -39,7 +39,10 @@
<xsl:template match="/"> <xsl:template match="/">
<html> <html>
<head> <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[ <style type="text/css"><![CDATA[
body { body {
font-family: "Nimbus Sans L", Arial, sans-serif; font-family: "Nimbus Sans L", Arial, sans-serif;
@@ -89,7 +92,7 @@
GNU Bison <xsl:value-of select="/bison-xml-report/@version"/></a> GNU Bison <xsl:value-of select="/bison-xml-report/@version"/></a>
XML Automaton Report, written by XML Automaton Report, written by
<a href="http://www.gnu.org.ua/~polak/" title="Wojciech Polak">Wojciech Polak</a>. <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 Verbatim copying and distribution of this entire page is permitted
in any medium, provided this notice is preserved.</div> in any medium, provided this notice is preserved.</div>
</body> </body>