[jboss-cvs] JBossAS SVN: r109969 - in projects/jboss-jca/trunk: tools/docant and 1 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Dec 16 09:30:55 EST 2010


Author: jeff.zhang
Date: 2010-12-16 09:30:54 -0500 (Thu, 16 Dec 2010)
New Revision: 109969

Added:
   projects/jboss-jca/trunk/tools/docant/ironjacamar-style/
   projects/jboss-jca/trunk/tools/docant/ironjacamar-style/common.xsl
   projects/jboss-jca/trunk/tools/docant/ironjacamar-style/fop1.xsl
   projects/jboss-jca/trunk/tools/docant/ironjacamar-style/pdf.xsl
   projects/jboss-jca/trunk/tools/docant/ironjacamar-style/xhtml-common.xsl
   projects/jboss-jca/trunk/tools/docant/ironjacamar-style/xhtml-single.xsl
   projects/jboss-jca/trunk/tools/docant/ironjacamar-style/xhtml.xsl
Modified:
   projects/jboss-jca/trunk/doc/build.xml
   projects/jboss-jca/trunk/tools/docant/build.xml
Log:
[JBJCA-473] use our docbook style to define template

Modified: projects/jboss-jca/trunk/doc/build.xml
===================================================================
--- projects/jboss-jca/trunk/doc/build.xml	2010-12-16 12:26:10 UTC (rev 109968)
+++ projects/jboss-jca/trunk/doc/build.xml	2010-12-16 14:30:54 UTC (rev 109969)
@@ -16,15 +16,16 @@
               baseOutputDirectory="${docant.dir}/target">
 
 	<format name="html_single" 
-	stylesheetResource="classpath:/xslt/org/jboss/xhtml-single.xsl"
+	stylesheetResource="classpath:/ironjacamar-style/xhtml-single.xsl"
 	targetFinalName="index.html"/>
 
 	<format name="html" 
-	stylesheetResource="classpath:/xslt/org/jboss/xhtml.xsl"
+	stylesheetResource="classpath:/ironjacamar-style/xhtml.xsl"
 	targetFinalName="index.html"/>
 	<format name="pdf" 
-	stylesheetResource="classpath:/xslt/org/jboss/pdf.xsl"
+	stylesheetResource="classpath:/ironjacamar-style/pdf.xsl"
 	targetFinalName="@{pdfName}"/>
+
       </docant>
       <mkdir dir="${basedir}/target/publish/@{srcDir}"/>
 

Modified: projects/jboss-jca/trunk/tools/docant/build.xml
===================================================================
--- projects/jboss-jca/trunk/tools/docant/build.xml	2010-12-16 12:26:10 UTC (rev 109968)
+++ projects/jboss-jca/trunk/tools/docant/build.xml	2010-12-16 14:30:54 UTC (rev 109969)
@@ -202,6 +202,11 @@
                includes="*.zip"/>
     </copy>
 
+    <copy todir="${staging.dir}/ironjacamar-style">
+      <fileset dir="${basedir}/ironjacamar-style"/>
+    </copy>
+
+
     <unzip src="${down.dir}/docbook/batik-${version.batik}.zip" dest="${lib.dir}/batik">
       <patternset>
         <include name="batik-${version.batik}/lib/batik-*.jar"/>

Added: projects/jboss-jca/trunk/tools/docant/ironjacamar-style/common.xsl
===================================================================
--- projects/jboss-jca/trunk/tools/docant/ironjacamar-style/common.xsl	                        (rev 0)
+++ projects/jboss-jca/trunk/tools/docant/ironjacamar-style/common.xsl	2010-12-16 14:30:54 UTC (rev 109969)
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+
+<!--
+  ~
+  ~ Copyright (c) 2010, 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">
+
+    <!-- copied largely from the work done by Mark Newton for the Seam documentation -->
+
+    <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/community/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/community/docbook/</xsl:text>
+    </xsl:param>
+-->
+</xsl:stylesheet>
+

Added: projects/jboss-jca/trunk/tools/docant/ironjacamar-style/fop1.xsl
===================================================================
--- projects/jboss-jca/trunk/tools/docant/ironjacamar-style/fop1.xsl	                        (rev 0)
+++ projects/jboss-jca/trunk/tools/docant/ironjacamar-style/fop1.xsl	2010-12-16 14:30:54 UTC (rev 109969)
@@ -0,0 +1,99 @@
+<?xml version='1.0'?>
+
+<!--
+  ~
+  ~ Copyright (c) 2010, 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'>
+
+    <!-- this one taken verbatim from the Seam xslt -->
+
+    <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">
+
+        <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 -->
+
+        <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: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="{$id}"/>
+-->
+    </xsl:template>
+
+
+</xsl:stylesheet>
+

Added: projects/jboss-jca/trunk/tools/docant/ironjacamar-style/pdf.xsl
===================================================================
--- projects/jboss-jca/trunk/tools/docant/ironjacamar-style/pdf.xsl	                        (rev 0)
+++ projects/jboss-jca/trunk/tools/docant/ironjacamar-style/pdf.xsl	2010-12-16 14:30:54 UTC (rev 109969)
@@ -0,0 +1,240 @@
+<?xml version='1.0'?>
+
+<!--
+  ~
+  ~ Copyright (c) 2010, 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"
+                xmlns="http://www.w3.org/TR/xhtml1/transitional"
+                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" />
+<!--
+    <xsl:import href="classpath:/xslt/org/jboss/xslt/fonts/pdf/fonts.xsl" />
+-->
+    <!-- work around problems in the jboss.org styles wrt pdf & jhighlight -->
+    <xsl:param name="programlisting.font" select="'monospace,fixed'" />
+    <xsl:param name="programlisting.font.size" select="'75%'" />
+
+	<xsl:param name="title.font.family">
+		<xsl:variable name="font">
+			<xsl:call-template name="pickfont-sans"/>
+		</xsl:variable>
+        <xsl:message>
+            <xsl:text>Setting 'title.font.family' param =</xsl:text><xsl:copy-of select="$font"/>
+        </xsl:message>
+		<xsl:copy-of select="$font"/>
+	</xsl:param>
+
+	<xsl:param name="body.font.family">
+		<xsl:variable name="font">
+			<xsl:call-template name="pickfont-sans"/>
+		</xsl:variable>
+        <xsl:message>
+            <xsl:text>Setting 'body.font.family' param =</xsl:text><xsl:copy-of select="$font"/>
+        </xsl:message>
+		<xsl:copy-of select="$font"/>
+	</xsl:param>
+
+	<xsl:param name="monospace.font.family">
+		<xsl:variable name="font">
+		    <xsl:call-template name="pickfont-mono"/>
+		</xsl:variable>
+        <xsl:message>
+            <xsl:text>Setting 'monospace.font.family' param =</xsl:text><xsl:copy-of select="$font"/>
+        </xsl:message>
+		<xsl:copy-of select="$font"/>
+	</xsl:param>
+
+	<xsl:param name="sans.font.family">
+		<xsl:variable name="font">
+			<xsl:call-template name="pickfont-sans"/>
+		</xsl:variable>
+        <xsl:message>
+            <xsl:text>Setting 'sans.font.family' param =</xsl:text><xsl:copy-of select="$font"/>
+        </xsl:message>
+		<xsl:copy-of select="$font"/>
+	</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
+   <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>
+
+   <xsl:param name="table.frame.border.thickness">0.6pt</xsl:param>
+   <xsl:param name="table.cell.border.right.color">white</xsl:param>
+   <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? -->
+      <xsl:if test="ancestor::thead or ancestor::tfoot">
+         <xsl:attribute name="font-weight">bold</xsl:attribute>
+         <xsl:attribute name="background-color">#EDE8DB</xsl:attribute>
+         <xsl:attribute name="color">black</xsl:attribute>
+      </xsl:if>
+   </xsl:template>
+
+   <!--
+      From: fo/table.xsl
+      Reason: Table Header format
+      Version:1.72
+   -->
+   <!-- customize this template to add row properties -->
+   <xsl:template name="table.row.properties">
+      <xsl:variable name="bgcolor">
+         <xsl:call-template name="dbfo-attribute">
+            <xsl:with-param name="pis" select="processing-instruction('dbfo')" />
+            <xsl:with-param name="attribute" select="'bgcolor'" />
+         </xsl:call-template>
+      </xsl:variable>
+      <xsl:if test="$bgcolor != ''">
+         <xsl:attribute name="background-color">
+      <xsl:value-of select="$bgcolor" />
+    </xsl:attribute>
+      </xsl:if>
+      <xsl:if test="ancestor::thead or ancestor::tfoot">
+         <xsl:attribute name="background-color">#EDE8DB</xsl:attribute>
+      </xsl:if>
+   </xsl:template>
+
+    <!--########## Custom Title Page -->
+    <xsl:template name="book.titlepage.recto">
+        <fo:block>
+            <fo:table table-layout="fixed" width="150mm">
+                <fo:table-column column-width="150mm"/>
+                <fo:table-body>
+                    <fo:table-row>
+                        <fo:table-cell text-align="center">
+                            <xsl:if test="bookinfo/mediaobject">
+                                <fo:block>
+                                    <fo:external-graphic>
+                                        <xsl:attribute name="src">
+        <xsl:if test="$img.src.path != ''">
+            <xsl:value-of select="$img.src.path"/>
+        </xsl:if>
+                                            <xsl:value-of
+                          select="bookinfo/mediaobject/imageobject/imagedata/@fileref" />
+                                        </xsl:attribute>    
+                                    </fo:external-graphic>
+                                </fo:block>
+                            </xsl:if>
+                            <xsl:if test="bookinfo/title">
+                                <fo:block font-family="Helvetica" font-size="22pt" padding-before="10mm">
+                                    <xsl:value-of select="bookinfo/title"/>
+                                </fo:block>
+                            </xsl:if>
+                            <xsl:if test="bookinfo/subtitle">
+                                <fo:block font-family="Helvetica" font-size="18pt" padding-before="10mm">
+                                    <xsl:value-of select="bookinfo/subtitle"/>
+                                </fo:block>
+                            </xsl:if>
+                            <xsl:if test="bookinfo/releaseinfo">
+                                <fo:block font-family="Helvetica" font-size="12pt"
+                                    padding="10mm"><xsl:value-of select="bookinfo/releaseinfo"/>
+                                </fo:block>
+                            </xsl:if>
+                            <xsl:if test="bookinfo/copyright">
+                                <fo:block font-family="Helvetica" font-size="12pt"
+                                    padding="10mm">                                    
+                                  
+                                    <xsl:apply-templates select="bookinfo/copyright"
+                                                         mode="titlepage.mode"/>
+                                </fo:block>
+                            </xsl:if>
+                        </fo:table-cell>
+                    </fo:table-row>
+                </fo:table-body>
+            </fo:table>
+        </fo:block>
+    </xsl:template>
+
+   <!-- preface charter font -->
+   <xsl:attribute-set name="preface.titlepage.recto.style">
+	<xsl:attribute name="font-family">
+		<xsl:value-of select="$title.fontset"/>
+	</xsl:attribute>
+	<xsl:attribute name="color">#4a5d75</xsl:attribute>
+	<xsl:attribute name="font-size">24pt</xsl:attribute>
+	<xsl:attribute name="font-weight">bold</xsl:attribute>
+        <xsl:attribute name="text-align">left</xsl:attribute>
+   </xsl:attribute-set>
+
+   <!-- charter title -->
+   <xsl:attribute-set name="chapter.titlepage.recto.style">
+	<xsl:attribute name="color"><xsl:value-of select="$chapter.title.color"/></xsl:attribute>
+	<xsl:attribute name="background-color">white</xsl:attribute>
+	<xsl:attribute name="font-size">
+		<xsl:choose>
+			<xsl:when test="$l10n.gentext.language = 'ja-JP'">
+				<xsl:value-of select="$body.font.master * 1.7"/>
+				<xsl:text>pt</xsl:text>
+			</xsl:when>
+			<xsl:otherwise>
+				<xsl:text>24pt</xsl:text>
+			</xsl:otherwise>
+		</xsl:choose>
+	</xsl:attribute>
+	<xsl:attribute name="font-weight">bold</xsl:attribute>
+	<xsl:attribute name="text-align">right</xsl:attribute>
+	<!--xsl:attribute name="wrap-option">no-wrap</xsl:attribute-->
+	<xsl:attribute name="padding-left">1em</xsl:attribute>
+	<xsl:attribute name="padding-right">1em</xsl:attribute>
+    </xsl:attribute-set>
+
+    <xsl:template name="chapter.titlepage.before.recto">
+        <xsl:param name="node" select="ancestor-or-self::chapter[1]"/> 
+        <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
+            text-align="right"
+            font-size="72pt" font-weight="bold" color="#4a5d75">
+            <xsl:number from="book" format="1"/>
+        </fo:block>
+    </xsl:template>
+    <xsl:template match="title" mode="chapter.titlepage.recto.auto.mode">
+        <xsl:variable name="titleabbrev">
+            <xsl:apply-templates select="ancestor-or-self::chapter[1]"
+                mode="titleabbrev.markup"/>
+        </xsl:variable>
+
+        <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
+            xsl:use-attribute-sets="chapter.titlepage.recto.style">
+            <xsl:value-of select="$titleabbrev" />
+        </fo:block>
+    </xsl:template>
+
+</xsl:stylesheet>
+

Added: projects/jboss-jca/trunk/tools/docant/ironjacamar-style/xhtml-common.xsl
===================================================================
--- projects/jboss-jca/trunk/tools/docant/ironjacamar-style/xhtml-common.xsl	                        (rev 0)
+++ projects/jboss-jca/trunk/tools/docant/ironjacamar-style/xhtml-common.xsl	2010-12-16 14:30:54 UTC (rev 109969)
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+<!--
+  ~
+  ~ Copyright (c) 2010, 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.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:template name="user.footer.content">
+        <HR/>
+        <a>
+            <xsl:attribute name="href">
+                <xsl:apply-templates select="//legalnotice[1]" mode="chunk-filename"/>
+            </xsl:attribute>
+            <xsl:choose>
+                <xsl:when test="//book/bookinfo/copyright[1]">
+                    <xsl:apply-templates select="//book/bookinfo/copyright[1]" mode="titlepage.mode"/>
+                </xsl:when>
+                <xsl:when test="//legalnotice[1]">
+                    <xsl:apply-templates select="//legalnotice[1]" mode="titlepage.mode"/>
+                </xsl:when>
+            </xsl:choose>
+        </a>
+    </xsl:template>
+
+</xsl:stylesheet>

Added: projects/jboss-jca/trunk/tools/docant/ironjacamar-style/xhtml-single.xsl
===================================================================
--- projects/jboss-jca/trunk/tools/docant/ironjacamar-style/xhtml-single.xsl	                        (rev 0)
+++ projects/jboss-jca/trunk/tools/docant/ironjacamar-style/xhtml-single.xsl	2010-12-16 14:30:54 UTC (rev 109969)
@@ -0,0 +1,38 @@
+<?xml version='1.0'?>
+
+<!--
+  ~
+  ~ Copyright (c) 2010, 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">
+
+    <!-- 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/jbossorg.css'"/>
+
+</xsl:stylesheet>
+

Added: projects/jboss-jca/trunk/tools/docant/ironjacamar-style/xhtml.xsl
===================================================================
--- projects/jboss-jca/trunk/tools/docant/ironjacamar-style/xhtml.xsl	                        (rev 0)
+++ projects/jboss-jca/trunk/tools/docant/ironjacamar-style/xhtml.xsl	2010-12-16 14:30:54 UTC (rev 109969)
@@ -0,0 +1,38 @@
+<?xml version='1.0'?>
+
+<!--
+  ~
+  ~ Copyright (c) 2010, 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">
+
+    <!-- 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:param name="html.stylesheet" select="'css/jbossorg.css'"/>
+
+</xsl:stylesheet>
+



More information about the jboss-cvs-commits mailing list