Author: steve.ebersole(a)jboss.com
Date: 2009-03-11 00:34:32 -0400 (Wed, 11 Mar 2009)
New Revision: 16138
Added:
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/xhtml-common.xsl
Modified:
hibernate-jdocbook-xslt/trunk/
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/common.xsl
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/eclipse.xsl
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/fop1.xsl
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/pdf.xsl
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/xhtml-single.xsl
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/xhtml.xsl
Log:
tidy up after import
Property changes on: hibernate-jdocbook-xslt/trunk
___________________________________________________________________
Name: svn:ignore
+ target
local
*.ipr
*.iws
*.iml
atlassian-ide-plugin.xml
.classpath
.project
.settings
.nbattrs
*.log
*.properties
.clover
Modified:
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/common.xsl
===================================================================
---
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/common.xsl 2009-03-11
04:27:15 UTC (rev 16137)
+++
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/common.xsl 2009-03-11
04:34:32 UTC (rev 16138)
@@ -1,36 +1,49 @@
-<?xml version='1.0'?>
+<?xml version="1.0"?>
<!--
- Copyright 2008 JBoss, a division of Red Hat
- License: LGPL
- Author: Mark Newton <mark.newton(a)jboss.org>
--->
+ ~ Hibernate, Relational Persistence for Idiomatic Java
+ ~
+ ~ Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as
+ ~ indicated by the @author tags or express copyright attribution
+ ~ statements applied by the authors. All third-party contributions are
+ ~ distributed under license by Red Hat Middleware LLC.
+ ~
+ ~ This copyrighted material is made available to anyone wishing to use, modify,
+ ~ copy, or redistribute it subject to the terms and conditions of the GNU
+ ~ Lesser General Public License, as published by the Free Software Foundation.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ ~ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ ~ for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public License
+ ~ along with this distribution; if not, write to:
+ ~ Free Software Foundation, Inc.
+ ~ 51 Franklin Street, Fifth Floor
+ ~ Boston, MA 02110-1301 USA
+ ~
+ -->
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <xsl:param name="use.simplified.author.group" select="1"/>
+ <!-- copied largely from the work done by Mark Newton for the Seam documentation
-->
- <!-- XHTML settings -->
- <xsl:param name="html.stylesheet"
select="'css/hibernate.css'"/>
-
- <xsl:param name="siteHref"
select="'http://www.hibernate.org'"/>
- <xsl:param name="docHref"
select="'http://www.hibernate.org/Documentation'"/>
- <xsl:param name="siteLinkText"
select="'Hibernate.org'"/>
+ <xsl:param name="use.simplified.author.group" select="1"/>
+
+ <xsl:param name="callout.graphics.path">
+ <xsl:if test="$img.src.path != ''">
+ <xsl:value-of select="$img.src.path"/>
+ </xsl:if>
+ <xsl:text>images/org/hibernate/docbook/callouts/</xsl:text>
+ </xsl:param>
+
+ <xsl:param name="admon.graphics.path">
+ <xsl:if test="$img.src.path != ''">
+ <xsl:value-of select="$img.src.path"/>
+ </xsl:if>
+ <xsl:text>images/org/hibernate/docbook/</xsl:text>
+ </xsl:param>
- <!-- XHTML and PDF -->
- <xsl:param name="callout.graphics.path">
- <xsl:if test="$img.src.path != ''">
- <xsl:value-of select="$img.src.path"/>
- </xsl:if>
- <xsl:text>images/org/hibernate/docbook/callouts/</xsl:text>
- </xsl:param>
-
- <xsl:param name="admon.graphics.path">
- <xsl:if test="$img.src.path != ''">
- <xsl:value-of select="$img.src.path"/>
- </xsl:if>
- <xsl:text>images/org/hibernate/docbook/</xsl:text>
- </xsl:param>
-
</xsl:stylesheet>
Modified:
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/eclipse.xsl
===================================================================
---
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/eclipse.xsl 2009-03-11
04:27:15 UTC (rev 16137)
+++
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/eclipse.xsl 2009-03-11
04:34:32 UTC (rev 16138)
@@ -1,21 +1,43 @@
<?xml version='1.0'?>
<!--
- Copyright 2008 JBoss, a division of Red Hat
- License: LGPL
- Author: Mark Newton <mark.newton(a)jboss.org>
--->
+ ~ Hibernate, Relational Persistence for Idiomatic Java
+ ~
+ ~ Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as
+ ~ indicated by the @author tags or express copyright attribution
+ ~ statements applied by the authors. All third-party contributions are
+ ~ distributed under license by Red Hat Middleware LLC.
+ ~
+ ~ This copyrighted material is made available to anyone wishing to use, modify,
+ ~ copy, or redistribute it subject to the terms and conditions of the GNU
+ ~ Lesser General Public License, as published by the Free Software Foundation.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ ~ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ ~ for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public License
+ ~ along with this distribution; if not, write to:
+ ~ Free Software Foundation, Inc.
+ ~ 51 Franklin Street, Fifth Floor
+ ~ Boston, MA 02110-1301 USA
+ ~
+ -->
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <xsl:import href="classpath:/xslt/org/jboss/eclipse.xsl"/>
- <xsl:import href="common.xsl"/>
+ <!-- copied largely from the work done by Mark Newton for the Seam documentation
-->
- <xsl:param name="html.stylesheet"
select="'css/hibernate-eclipse.css'"/>
+ <xsl:import href="classpath:/xslt/org/jboss/eclipse.xsl"/>
+ <xsl:import href="common.xsl"/>
+ <xsl:import href="xhtml-common.xsl"/>
- <xsl:param name="eclipse.plugin.name">Hibernate Help</xsl:param>
- <xsl:param
name="eclipse.plugin.id">org.hibernate.help</xsl:param>
- <xsl:param
name="eclipse.plugin.provider">Hibernate.org</xsl:param>
+ <xsl:param name="html.stylesheet"
select="'css/hibernate-eclipse.css'"/>
+
+ <xsl:param name="eclipse.plugin.name">Hibernate
Help</xsl:param>
+ <xsl:param
name="eclipse.plugin.id">org.hibernate.help</xsl:param>
+ <xsl:param
name="eclipse.plugin.provider">Hibernate.org</xsl:param>
</xsl:stylesheet>
Modified:
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/fop1.xsl
===================================================================
---
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/fop1.xsl 2009-03-11
04:27:15 UTC (rev 16137)
+++
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/fop1.xsl 2009-03-11
04:34:32 UTC (rev 16138)
@@ -1,71 +1,99 @@
<?xml version='1.0'?>
+
+<!--
+ ~ Hibernate, Relational Persistence for Idiomatic Java
+ ~
+ ~ Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as
+ ~ indicated by the @author tags or express copyright attribution
+ ~ statements applied by the authors. All third-party contributions are
+ ~ distributed under license by Red Hat Middleware LLC.
+ ~
+ ~ This copyrighted material is made available to anyone wishing to use, modify,
+ ~ copy, or redistribute it subject to the terms and conditions of the GNU
+ ~ Lesser General Public License, as published by the Free Software Foundation.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ ~ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ ~ for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public License
+ ~ along with this distribution; if not, write to:
+ ~ Free Software Foundation, Inc.
+ ~ 51 Franklin Street, Fifth Floor
+ ~ Boston, MA 02110-1301 USA
+ ~
+ -->
+
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
version='1.0'>
-<xsl:template match="*" mode="fop1.outline">
- <xsl:apply-templates select="*" mode="fop1.outline"/>
-</xsl:template>
+ <!-- this one taken verbatim from the Seam xslt -->
-<xsl:template match="set|book|part|reference|
+ <xsl:template match="*" mode="fop1.outline">
+ <xsl:apply-templates select="*" mode="fop1.outline"/>
+ </xsl:template>
+
+ <xsl:template match="set|book|part|reference|
preface|chapter|appendix|article
|glossary|bibliography|index|setindex
|refentry
|sect1|sect2|sect3|sect4|sect5|section"
- mode="fop1.outline">
+ mode="fop1.outline">
- <xsl:variable name="id">
- <xsl:call-template name="object.id"/>
- </xsl:variable>
- <xsl:variable name="bookmark-label">
- <xsl:apply-templates select="."
mode="object.title.markup"/>
- </xsl:variable>
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+ <xsl:variable name="bookmark-label">
+ <xsl:apply-templates select="."
mode="object.title.markup"/>
+ </xsl:variable>
- <!-- Put the root element bookmark at the same level as its children -->
- <!-- If the object is a set or book, generate a bookmark for the toc -->
+ <!-- Put the root element bookmark at the same level as its children -->
+ <!-- If the object is a set or book, generate a bookmark for the toc -->
- <xsl:choose>
- <xsl:when test="parent::*">
- <fo:bookmark internal-destination="{$id}"
starting-state="hide">
- <fo:bookmark-title>
- <xsl:value-of select="normalize-space(translate($bookmark-label,
$a-dia, $a-asc))"/>
- </fo:bookmark-title>
- <xsl:apply-templates select="*" mode="fop1.outline"/>
- </fo:bookmark>
- </xsl:when>
- <xsl:otherwise>
- <fo:bookmark internal-destination="{$id}"
starting-state="hide">
- <fo:bookmark-title>
- <xsl:value-of select="normalize-space(translate($bookmark-label,
$a-dia, $a-asc))"/>
- </fo:bookmark-title>
- </fo:bookmark>
+ <xsl:choose>
+ <xsl:when test="parent::*">
+ <fo:bookmark internal-destination="{$id}"
starting-state="hide">
+ <fo:bookmark-title>
+ <xsl:value-of
select="normalize-space(translate($bookmark-label, $a-dia, $a-asc))"/>
+ </fo:bookmark-title>
+ <xsl:apply-templates select="*"
mode="fop1.outline"/>
+ </fo:bookmark>
+ </xsl:when>
+ <xsl:otherwise>
+ <fo:bookmark internal-destination="{$id}"
starting-state="hide">
+ <fo:bookmark-title>
+ <xsl:value-of
select="normalize-space(translate($bookmark-label, $a-dia, $a-asc))"/>
+ </fo:bookmark-title>
+ </fo:bookmark>
- <xsl:variable name="toc.params">
- <xsl:call-template name="find.path.params">
- <xsl:with-param name="table"
select="normalize-space($generate.toc)"/>
- </xsl:call-template>
- </xsl:variable>
+ <xsl:variable name="toc.params">
+ <xsl:call-template name="find.path.params">
+ <xsl:with-param name="table"
select="normalize-space($generate.toc)"/>
+ </xsl:call-template>
+ </xsl:variable>
- <xsl:if test="contains($toc.params, 'toc')
+ <xsl:if test="contains($toc.params, 'toc')
and (book|part|reference|preface|chapter|appendix|article
|glossary|bibliography|index|setindex
|refentry
|sect1|sect2|sect3|sect4|sect5|section)">
- <fo:bookmark internal-destination="toc...{$id}"
starting-state="hide">
- <fo:bookmark-title>
- <xsl:call-template name="gentext">
- <xsl:with-param name="key"
select="'TableofContents'"/>
- </xsl:call-template>
- </fo:bookmark-title>
- </fo:bookmark>
- </xsl:if>
- <xsl:apply-templates select="*" mode="fop1.outline"/>
- </xsl:otherwise>
- </xsl:choose>
-<!--
+ <fo:bookmark internal-destination="toc...{$id}"
starting-state="hide">
+ <fo:bookmark-title>
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key"
select="'TableofContents'"/>
+ </xsl:call-template>
+ </fo:bookmark-title>
+ </fo:bookmark>
+ </xsl:if>
+ <xsl:apply-templates select="*"
mode="fop1.outline"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <!--
<fo:bookmark internal-destination="{$id}"/>
-->
-</xsl:template>
+ </xsl:template>
</xsl:stylesheet>
Modified:
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/pdf.xsl
===================================================================
---
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/pdf.xsl 2009-03-11
04:27:15 UTC (rev 16137)
+++
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/pdf.xsl 2009-03-11
04:34:32 UTC (rev 16138)
@@ -1,11 +1,29 @@
<?xml version='1.0'?>
<!--
- Copyright 2008 JBoss, a division of Red Hat
- License: LGPL
- Author: Pete Muir
- Author: Mark Newton <mark.newton(a)jboss.org>
--->
+ ~ Hibernate, Relational Persistence for Idiomatic Java
+ ~
+ ~ Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as
+ ~ indicated by the @author tags or express copyright attribution
+ ~ statements applied by the authors. All third-party contributions are
+ ~ distributed under license by Red Hat Middleware LLC.
+ ~
+ ~ This copyrighted material is made available to anyone wishing to use, modify,
+ ~ copy, or redistribute it subject to the terms and conditions of the GNU
+ ~ Lesser General Public License, as published by the Free Software Foundation.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ ~ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ ~ for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public License
+ ~ along with this distribution; if not, write to:
+ ~ Free Software Foundation, Inc.
+ ~ 51 Franklin Street, Fifth Floor
+ ~ Boston, MA 02110-1301 USA
+ ~
+ -->
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
@@ -13,17 +31,19 @@
xmlns:fo="http://www.w3.org/1999/XSL/Format"
exclude-result-prefixes="#default">
+ <!-- copied largely from the work done by Mark Newton for the Seam documentation
-->
+
<xsl:import href="classpath:/xslt/org/jboss/pdf.xsl"/>
<xsl:import href="common.xsl"/>
<xsl:import href="fop1.xsl" />
- <!-- Change the font color for titles to
SeamFramework.org one -->
- <xsl:param name="title.color">#576C74</xsl:param>
- <xsl:param name="titlepage.color">#885324</xsl:param>
- <xsl:param name="chapter.title.color">#BA5624</xsl:param>
- <xsl:param name="section.title.color">#BA5624</xsl:param>
+ <!-- Change the font color for titles to
Hibernate.org one -->
+ <xsl:param name="title.color">#4a5d75</xsl:param>
+ <xsl:param name="titlepage.color">#4a5d75</xsl:param>
+ <xsl:param name="chapter.title.color">#4a5d75</xsl:param>
+ <xsl:param name="section.title.color">#4a5d75</xsl:param>
- <!-- Style tables to look like SeamFramework.org-->
+ <!-- Style tables to look like
SeamFramework.org
<xsl:param name="table.cell.border.color">#D3D2D1</xsl:param>
<xsl:param name="table.frame.border.color">#D3D2D1</xsl:param>
<xsl:param name="table.cell.border.thickness">0.6pt</xsl:param>
@@ -33,6 +53,7 @@
<xsl:param
name="table.cell.border.left.color">#D3D2D1</xsl:param>
<xsl:param
name="table.frame.border.right.color">white</xsl:param>
<xsl:param
name="table.frame.border.left.color">white</xsl:param>
+-->
<xsl:template name="table.cell.block.properties">
<!-- highlight this entry? -->
Added:
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/xhtml-common.xsl
===================================================================
---
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/xhtml-common.xsl
(rev 0)
+++
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/xhtml-common.xsl 2009-03-11
04:34:32 UTC (rev 16138)
@@ -0,0 +1,41 @@
+<?xml version="1.0"?>
+<!--
+ ~ Hibernate, Relational Persistence for Idiomatic Java
+ ~
+ ~ Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as
+ ~ indicated by the @author tags or express copyright attribution
+ ~ statements applied by the authors. All third-party contributions are
+ ~ distributed under license by Red Hat Middleware LLC.
+ ~
+ ~ This copyrighted material is made available to anyone wishing to use, modify,
+ ~ copy, or redistribute it subject to the terms and conditions of the GNU
+ ~ Lesser General Public License, as published by the Free Software Foundation.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ ~ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ ~ for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public License
+ ~ along with this distribution; if not, write to:
+ ~ Free Software Foundation, Inc.
+ ~ 51 Franklin Street, Fifth Floor
+ ~ Boston, MA 02110-1301 USA
+ ~
+ -->
+
+<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
+
+ <xsl:param name="siteHref"
select="'http://www.hibernate.org'"/>
+ <xsl:param name="docHref"
select="'http://hibernate.org/Documentation/DocumentationOvervie...
+ <xsl:param name="siteLinkText"
select="'Hibernate.org'"/>
+
+ <xsl:param name="use.id.as.filename">1</xsl:param>
+
+ <xsl:param
name="legalnotice.filename">legalnotice.html</xsl:param>
+
+ <xsl:template match="legalnotice" mode="chunk-filename">
+ <xsl:value-of select="$legalnotice.filename"/>
+ </xsl:template>
+
+</xsl:stylesheet>
Modified:
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/xhtml-single.xsl
===================================================================
---
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/xhtml-single.xsl 2009-03-11
04:27:15 UTC (rev 16137)
+++
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/xhtml-single.xsl 2009-03-11
04:34:32 UTC (rev 16138)
@@ -1,18 +1,39 @@
<?xml version='1.0'?>
-
+
<!--
- Copyright 2008 JBoss, a division of Red Hat
- License: LGPL
- Author: Pete Muir
- Author: Mark Newton <mark.newton(a)jboss.org>
--->
+ ~ Hibernate, Relational Persistence for Idiomatic Java
+ ~
+ ~ Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as
+ ~ indicated by the @author tags or express copyright attribution
+ ~ statements applied by the authors. All third-party contributions are
+ ~ distributed under license by Red Hat Middleware LLC.
+ ~
+ ~ This copyrighted material is made available to anyone wishing to use, modify,
+ ~ copy, or redistribute it subject to the terms and conditions of the GNU
+ ~ Lesser General Public License, as published by the Free Software Foundation.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ ~ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ ~ for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public License
+ ~ along with this distribution; if not, write to:
+ ~ Free Software Foundation, Inc.
+ ~ 51 Franklin Street, Fifth Floor
+ ~ Boston, MA 02110-1301 USA
+ ~
+ -->
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <xsl:import href="classpath:/xslt/org/jboss/xhtml-single.xsl"/>
- <xsl:import href="common.xsl"/>
+ <!-- copied largely from the work done by Mark Newton for the Seam documentation
-->
+
+ <xsl:import href="classpath:/xslt/org/jboss/xhtml-single.xsl"/>
+ <xsl:import href="common.xsl"/>
+ <xsl:import href="xhtml-common.xsl"/>
- <xsl:param name="html.stylesheet"
select="'css/hibernate-single.css'"/>
+ <xsl:param name="html.stylesheet"
select="'css/hibernate-single.css'"/>
</xsl:stylesheet>
Modified:
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/xhtml.xsl
===================================================================
---
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/xhtml.xsl 2009-03-11
04:27:15 UTC (rev 16137)
+++
hibernate-jdocbook-xslt/trunk/src/main/resources/xslt/org/hibernate/jdocbook/xslt/xhtml.xsl 2009-03-11
04:34:32 UTC (rev 16138)
@@ -1,16 +1,47 @@
<?xml version='1.0'?>
<!--
- Copyright 2008 JBoss, a division of Red Hat
- License: LGPL
- Author: Pete Muir
- Author: Mark Newton <mark.newton(a)jboss.org>
--->
+ ~ Hibernate, Relational Persistence for Idiomatic Java
+ ~
+ ~ Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as
+ ~ indicated by the @author tags or express copyright attribution
+ ~ statements applied by the authors. All third-party contributions are
+ ~ distributed under license by Red Hat Middleware LLC.
+ ~
+ ~ This copyrighted material is made available to anyone wishing to use, modify,
+ ~ copy, or redistribute it subject to the terms and conditions of the GNU
+ ~ Lesser General Public License, as published by the Free Software Foundation.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ ~ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ ~ for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public License
+ ~ along with this distribution; if not, write to:
+ ~ Free Software Foundation, Inc.
+ ~ 51 Franklin Street, Fifth Floor
+ ~ Boston, MA 02110-1301 USA
+ ~
+ -->
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <xsl:import href="classpath:/xslt/org/jboss/xhtml.xsl"/>
- <xsl:import href="common.xsl"/>
+ <!-- copied largely from the work done by Mark Newton for the Seam documentation
-->
+ <xsl:import href="classpath:/xslt/org/jboss/xhtml.xsl"/>
+ <xsl:import href="common.xsl"/>
+ <xsl:import href="xhtml-common.xsl"/>
+
+ <xsl:template name="user.footer.content">
+ <HR/>
+ <a>
+ <xsl:attribute name="href">
+ <xsl:apply-templates select="//legalnotice[1]"
mode="chunk-filename"/>
+ </xsl:attribute>
+ <xsl:apply-templates select="//copyright[1]"
mode="titlepage.mode"/>
+ </a>
+ </xsl:template>
+
</xsl:stylesheet>