documentation work - prepared to use the docbkx plugin for DocBook documentation
git-svn-id: https://svn.apache.org/repos/asf/incubator/jsecurity/trunk@759727 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/docs/reference/src/authentication.xml b/docs/reference/src/authentication.xml
deleted file mode 100644
index 6e79465..0000000
--- a/docs/reference/src/authentication.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
diff --git a/docs/reference/src/authorization.xml b/docs/reference/src/authorization.xml
deleted file mode 100644
index 6e79465..0000000
--- a/docs/reference/src/authorization.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
diff --git a/docs/reference/src/caching.xml b/docs/reference/src/caching.xml
deleted file mode 100644
index 6e79465..0000000
--- a/docs/reference/src/caching.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
diff --git a/docs/reference/src/cryptography.xml b/docs/reference/src/cryptography.xml
deleted file mode 100644
index 6e79465..0000000
--- a/docs/reference/src/cryptography.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
diff --git a/docs/reference/src/ehcache.xml b/docs/reference/src/ehcache.xml
deleted file mode 100644
index 6e79465..0000000
--- a/docs/reference/src/ehcache.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
diff --git a/docs/reference/src/integration.xml b/docs/reference/src/integration.xml
deleted file mode 100644
index 6e79465..0000000
--- a/docs/reference/src/integration.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
diff --git a/docs/reference/src/ki.tld.xml b/docs/reference/src/ki.tld.xml
deleted file mode 100644
index 6e79465..0000000
--- a/docs/reference/src/ki.tld.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
diff --git a/docs/reference/src/overview.xml b/docs/reference/src/overview.xml
deleted file mode 100644
index 6e79465..0000000
--- a/docs/reference/src/overview.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
diff --git a/docs/reference/src/realms.xml b/docs/reference/src/realms.xml
deleted file mode 100644
index 6e79465..0000000
--- a/docs/reference/src/realms.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
diff --git a/docs/reference/src/sessions.xml b/docs/reference/src/sessions.xml
deleted file mode 100644
index 6e79465..0000000
--- a/docs/reference/src/sessions.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
diff --git a/docs/reference/src/terminology.xml b/docs/reference/src/terminology.xml
deleted file mode 100644
index 6e79465..0000000
--- a/docs/reference/src/terminology.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
diff --git a/docs/reference/src/web-filter.xml b/docs/reference/src/web-filter.xml
deleted file mode 100644
index 6e79465..0000000
--- a/docs/reference/src/web-filter.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
diff --git a/docs/reference/src/web-support.xml b/docs/reference/src/web-support.xml
deleted file mode 100644
index 6e79465..0000000
--- a/docs/reference/src/web-support.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
diff --git a/docs/reference/src/web-taglibs.xml b/docs/reference/src/web-taglibs.xml
deleted file mode 100644
index 6e79465..0000000
--- a/docs/reference/src/web-taglibs.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
diff --git a/docs/reference/styles/fopdf.xsl b/docs/reference/styles/fopdf.xsl
deleted file mode 100644
index e62d20b..0000000
--- a/docs/reference/styles/fopdf.xsl
+++ /dev/null
@@ -1,521 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-
-<!--
- This is the XSL FO (PDF) stylesheet for the Apache Ki reference
- documentation.
-
- Thanks are due to Christian Bauer of the Hibernate project team
- and Juergen Hoeller of the Spring Framework team
- for writing the original stylesheet(s) upon which this one is based.
--->
-
-<!DOCTYPE xsl:stylesheet [
- <!ENTITY db_xsl_path "../../../lib/docbook/docbook-xsl/">
- <!ENTITY admon_gfx_path "../images/admons/">
- <!ENTITY copyright "©">
- ]>
-
-<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">
-
- <xsl:import href="&db_xsl_path;/fo/docbook.xsl"/>
-
- <!--###################################################
- Custom Title Page
- ################################################### -->
-
- <xsl:template name="book.titlepage.recto">
- <fo:block>
- <fo:table table-layout="fixed" width="175mm">
- <fo:table-column column-width="175mm"/>
- <fo:table-body>
- <fo:table-row>
- <fo:table-cell text-align="center">
- <!-- TODO: re-enable
- <fo:block>
- <fo:external-graphic src="file:images/logo.jpg"/>
- </fo:block> -->
- <fo:block font-family="Helvetica" font-size="22pt" padding-before="10mm">
- <xsl:value-of select="bookinfo/subtitle"/>
- </fo:block>
- <fo:block font-family="Helvetica" font-size="14pt" padding="10mm">
- <xsl:value-of select="bookinfo/title"/>
- </fo:block>
- <fo:block font-family="Helvetica" font-size="12pt" padding="10mm">
- <xsl:text>Version </xsl:text>
- <xsl:value-of select="bookinfo/releaseinfo"/>
- </fo:block>
- </fo:table-cell>
- </fo:table-row>
- <fo:table-row>
- <fo:table-cell text-align="center">
- <fo:block font-family="Helvetica" font-size="14pt" padding="10mm">
- <xsl:value-of select="bookinfo/pubdate"/>
- </fo:block>
- </fo:table-cell>
- </fo:table-row>
- <fo:table-row>
- <fo:table-cell text-align="center">
- <fo:block font-family="Helvetica" font-size="12pt" padding="10mm">
- <xsl:text>Copyright ©right; 2004-2009 </xsl:text>
- <xsl:for-each select="bookinfo/authorgroup/author">
- <xsl:if test="position() > 1">
- <xsl:text>,</xsl:text>
- </xsl:if>
- <xsl:value-of select="firstname"/>
- <xsl:text></xsl:text>
- <xsl:value-of select="surname"/>
- </xsl:for-each>
- </fo:block>
- <fo:block font-family="Helvetica" font-size="10pt" padding="1mm">
- <xsl:value-of select="bookinfo/legalnotice"/>
- </fo:block>
- </fo:table-cell>
- </fo:table-row>
- </fo:table-body>
- </fo:table>
- </fo:block>
- </xsl:template>
-
- <!-- Prevent blank pages in output -->
- <xsl:template name="book.titlepage.before.verso">
- </xsl:template>
- <xsl:template name="book.titlepage.verso">
- </xsl:template>
- <xsl:template name="book.titlepage.separator">
- </xsl:template>
-
- <!--###################################################
- Header
- ################################################### -->
-
- <!-- More space in the center header for long text -->
- <xsl:attribute-set name="header.content.properties">
- <xsl:attribute name="font-family">
- <xsl:value-of select="$body.font.family"/>
- </xsl:attribute>
- <xsl:attribute name="margin-left">-5em</xsl:attribute>
- <xsl:attribute name="margin-right">-5em</xsl:attribute>
- </xsl:attribute-set>
-
- <!--###################################################
- Custom Footer
- ################################################### -->
- <xsl:template name="footer.content">
- <xsl:param name="pageclass" select="''"/>
- <xsl:param name="sequence" select="''"/>
- <xsl:param name="position" select="''"/>
- <xsl:param name="gentext-key" select="''"/>
- <xsl:variable name="Version">
- <xsl:if test="//releaseinfo">
- <xsl:text>Apache Ki (</xsl:text>
- <xsl:value-of select="//releaseinfo"/>
- <xsl:text>)</xsl:text>
- </xsl:if>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$sequence='blank'">
- <xsl:if test="$position = 'center'">
- <xsl:value-of select="$Version"/>
- </xsl:if>
- </xsl:when>
- <!-- for double sided printing, print page numbers on alternating sides (of the page) -->
- <xsl:when test="$double.sided != 0">
- <xsl:choose>
- <xsl:when test="$sequence = 'even' and $position='left'">
- <fo:page-number/>
- </xsl:when>
- <xsl:when test="$sequence = 'odd' and $position='right'">
- <fo:page-number/>
- </xsl:when>
- <xsl:when test="$position='center'">
- <xsl:value-of select="$Version"/>
- </xsl:when>
- </xsl:choose>
- </xsl:when>
- <!-- for single sided printing, print all page numbers on the right (of the page) -->
- <xsl:when test="$double.sided = 0">
- <xsl:choose>
- <xsl:when test="$position='center'">
- <xsl:value-of select="$Version"/>
- </xsl:when>
- <xsl:when test="$position='right'">
- <fo:page-number/>
- </xsl:when>
- </xsl:choose>
- </xsl:when>
- </xsl:choose>
- </xsl:template>
-
- <!--###################################################
- Custom Toc Line
- ################################################### -->
-
- <!-- The default DocBook XSL TOC printing is seriously broken... -->
- <xsl:template name="toc.line">
- <xsl:variable name="id">
- <xsl:call-template name="object.id"/>
- </xsl:variable>
-
- <xsl:variable name="label">
- <xsl:apply-templates select="." mode="label.markup"/>
- </xsl:variable>
-
- <!-- justify-end removed from block attributes (space problem in title.markup) -->
- <fo:block end-indent="{$toc.indent.width}pt"
- last-line-end-indent="-{$toc.indent.width}pt"
- white-space-treatment="ignore"
- linefeed-treatment="ignore"
- text-align-last="justify"
- white-space-collapse="true">
- <fo:inline keep-with-next.within-line="always">
- <!-- print Chapters in bold style -->
- <xsl:choose>
- <xsl:when test="local-name(.) = 'chapter'">
- <xsl:attribute name="font-weight">bold</xsl:attribute>
- </xsl:when>
- </xsl:choose>
- <fo:basic-link internal-destination="{$id}">
- <xsl:if test="$label != ''">
- <xsl:copy-of select="$label"/>
- <fo:inline white-space-treatment="ignore"
- linefeed-treatment="ignore"
- white-space-collapse="true">
- <xsl:value-of select="$autotoc.label.separator"/>
- </fo:inline>
- </xsl:if>
- <xsl:apply-templates select="." mode="title.markup"/>
- </fo:basic-link>
- </fo:inline>
- <fo:inline keep-together.within-line="always">
- <xsl:text></xsl:text>
- <fo:leader leader-pattern="dots"
- leader-pattern-width="3pt"
- leader-alignment="reference-area"
- keep-with-next.within-line="always"/>
- <xsl:text></xsl:text>
- <fo:basic-link internal-destination="{$id}">
- <fo:page-number-citation ref-id="{$id}"/>
- </fo:basic-link>
- </fo:inline>
- </fo:block>
- </xsl:template>
-
- <!--###################################################
- Extensions
- ################################################### -->
-
- <!-- These extensions are required for table printing and other stuff -->
- <xsl:param name="use.extensions">1</xsl:param>
- <xsl:param name="tablecolumns.extension">0</xsl:param>
- <xsl:param name="callout.extensions">1</xsl:param>
- <!-- FOP provide only PDF Bookmarks at the moment -->
- <xsl:param name="fop.extensions">1</xsl:param>
-
- <!--###################################################
- Table Of Contents
- ################################################### -->
-
- <!-- Generate the TOCs for named components only -->
- <xsl:param name="generate.toc">
- book toc
- </xsl:param>
-
- <!-- Show only Sections up to level 3 in the TOCs -->
- <xsl:param name="toc.section.depth">2</xsl:param>
-
- <!-- Dot and Whitespace as separator in TOC between Label and Title-->
- <xsl:param name="autotoc.label.separator" select="'. '"/>
-
-
- <!--###################################################
- Paper & Page Size
- ################################################### -->
-
- <!-- Paper type, no headers on blank pages, no double sided printing -->
- <xsl:param name="paper.type" select="'A4'"/>
- <xsl:param name="double.sided">0</xsl:param>
- <xsl:param name="headers.on.blank.pages">0</xsl:param>
- <xsl:param name="footers.on.blank.pages">0</xsl:param>
-
- <!-- Space between paper border and content (chaotic stuff, don't touch) -->
- <xsl:param name="page.margin.top">5mm</xsl:param>
- <xsl:param name="region.before.extent">10mm</xsl:param>
- <xsl:param name="body.margin.top">10mm</xsl:param>
-
- <xsl:param name="body.margin.bottom">15mm</xsl:param>
- <xsl:param name="region.after.extent">10mm</xsl:param>
- <xsl:param name="page.margin.bottom">0mm</xsl:param>
-
- <xsl:param name="page.margin.outer">18mm</xsl:param>
- <xsl:param name="page.margin.inner">18mm</xsl:param>
-
- <!-- No intendation of Titles -->
- <xsl:param name="title.margin.left">0pc</xsl:param>
-
- <!--###################################################
- Fonts & Styles
- ################################################### -->
-
- <!-- Left aligned text and no hyphenation -->
- <xsl:param name="alignment">justify</xsl:param>
- <xsl:param name="hyphenate">false</xsl:param>
-
- <!-- Default Font size -->
- <xsl:param name="body.font.master">11</xsl:param>
- <xsl:param name="body.font.small">8</xsl:param>
-
- <!-- Line height in body text -->
- <xsl:param name="line-height">1.4</xsl:param>
-
- <!-- Monospaced fonts are smaller than regular text -->
- <xsl:attribute-set name="monospace.properties">
- <xsl:attribute name="font-family">
- <xsl:value-of select="$monospace.font.family"/>
- </xsl:attribute>
- <xsl:attribute name="font-size">0.8em</xsl:attribute>
- </xsl:attribute-set>
-
- <!--###################################################
- Tables
- ################################################### -->
-
- <!-- The table width should be adapted to the paper size -->
- <xsl:param name="default.table.width">17.4cm</xsl:param>
-
- <!-- Some padding inside tables -->
- <xsl:attribute-set name="table.cell.padding">
- <xsl:attribute name="padding-left">4pt</xsl:attribute>
- <xsl:attribute name="padding-right">4pt</xsl:attribute>
- <xsl:attribute name="padding-top">4pt</xsl:attribute>
- <xsl:attribute name="padding-bottom">4pt</xsl:attribute>
- </xsl:attribute-set>
-
- <!-- Only hairlines as frame and cell borders in tables -->
- <xsl:param name="table.frame.border.thickness">0.1pt</xsl:param>
- <xsl:param name="table.cell.border.thickness">0.1pt</xsl:param>
-
- <!--###################################################
- Labels
- ################################################### -->
-
- <!-- Label Chapters and Sections (numbering) -->
- <xsl:param name="chapter.autolabel">1</xsl:param>
- <xsl:param name="section.autolabel" select="1"/>
- <xsl:param name="section.label.includes.component.label" select="1"/>
-
- <!--###################################################
- Titles
- ################################################### -->
-
- <!-- Chapter title size -->
- <xsl:attribute-set name="chapter.titlepage.recto.style">
- <xsl:attribute name="text-align">left</xsl:attribute>
- <xsl:attribute name="font-weight">bold</xsl:attribute>
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master * 1.8"/>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- </xsl:attribute-set>
-
- <!-- Why is the font-size for chapters hardcoded in the XSL FO templates?
-Let's remove it, so this sucker can use our attribute-set only... -->
- <xsl:template match="title" mode="chapter.titlepage.recto.auto.mode">
- <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
- xsl:use-attribute-sets="chapter.titlepage.recto.style">
- <xsl:call-template name="component.title">
- <xsl:with-param name="node" select="ancestor-or-self::chapter[1]"/>
- </xsl:call-template>
- </fo:block>
- </xsl:template>
-
- <!-- Sections 1, 2 and 3 titles have a small bump factor and padding -->
- <xsl:attribute-set name="section.title.level1.properties">
- <xsl:attribute name="space-before.optimum">0.8em</xsl:attribute>
- <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">0.8em</xsl:attribute>
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master * 1.5"/>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
- <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
- <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
- </xsl:attribute-set>
-
- <xsl:attribute-set name="section.title.level2.properties">
- <xsl:attribute name="space-before.optimum">0.6em</xsl:attribute>
- <xsl:attribute name="space-before.minimum">0.6em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">0.6em</xsl:attribute>
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master * 1.25"/>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
- <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
- <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
- </xsl:attribute-set>
-
- <xsl:attribute-set name="section.title.level3.properties">
- <xsl:attribute name="space-before.optimum">0.4em</xsl:attribute>
- <xsl:attribute name="space-before.minimum">0.4em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">0.4em</xsl:attribute>
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master * 1.0"/>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
- <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
- <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
- </xsl:attribute-set>
-
- <!-- Titles of formal objects (tables, examples, ...) -->
- <xsl:attribute-set name="formal.title.properties" use-attribute-sets="normal.para.spacing">
- <xsl:attribute name="font-weight">bold</xsl:attribute>
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master"/>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- <xsl:attribute name="hyphenate">false</xsl:attribute>
- <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
- <xsl:attribute name="space-after.optimum">0.6em</xsl:attribute>
- <xsl:attribute name="space-after.maximum">0.8em</xsl:attribute>
- </xsl:attribute-set>
-
- <!--###################################################
- Programlistings
- ################################################### -->
-
- <!-- Verbatim text formatting (programlistings) -->
- <xsl:attribute-set name="monospace.verbatim.properties">
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.small * 1.0"/>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- </xsl:attribute-set>
-
- <xsl:attribute-set name="verbatim.properties">
- <xsl:attribute name="space-before.minimum">1em</xsl:attribute>
- <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">1em</xsl:attribute>
- <xsl:attribute name="border-color">#444444</xsl:attribute>
- <xsl:attribute name="border-style">solid</xsl:attribute>
- <xsl:attribute name="border-width">0.1pt</xsl:attribute>
- <xsl:attribute name="padding-top">0.5em</xsl:attribute>
- <xsl:attribute name="padding-left">0.5em</xsl:attribute>
- <xsl:attribute name="padding-right">0.5em</xsl:attribute>
- <xsl:attribute name="padding-bottom">0.5em</xsl:attribute>
- <xsl:attribute name="margin-left">0.5em</xsl:attribute>
- <xsl:attribute name="margin-right">0.5em</xsl:attribute>
- </xsl:attribute-set>
-
- <!-- Shade (background) programlistings -->
- <xsl:param name="shade.verbatim">1</xsl:param>
- <xsl:attribute-set name="shade.verbatim.style">
- <xsl:attribute name="background-color">#F0F0F0</xsl:attribute>
- </xsl:attribute-set>
-
- <!--###################################################
- Callouts
- ################################################### -->
-
- <!-- Use images for callouts instead of (1) (2) (3) -->
- <xsl:param name="callout.graphics">0</xsl:param>
- <xsl:param name="callout.unicode">1</xsl:param>
-
- <!-- Place callout marks at this column in annotated areas -->
- <xsl:param name="callout.defaultcolumn">90</xsl:param>
-
- <!--###################################################
- Admonitions
- ################################################### -->
-
- <!-- Use nice graphics for admonitions -->
- <xsl:param name="admon.graphics">'1'</xsl:param>
- <xsl:param name="admon.graphics.path">&admon_gfx_path;</xsl:param>
-
- <!--###################################################
- Misc
- ################################################### -->
-
- <!-- Placement of titles -->
- <xsl:param name="formal.title.placement">
- figure after
- example before
- equation before
- table before
- procedure before
- </xsl:param>
-
- <!-- Format Variable Lists as Blocks (prevents horizontal overflow) -->
- <xsl:param name="variablelist.as.blocks">1</xsl:param>
-
- <!-- The horrible list spacing problems -->
- <xsl:attribute-set name="list.block.spacing">
- <xsl:attribute name="space-before.optimum">0.8em</xsl:attribute>
- <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">0.8em</xsl:attribute>
- <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
- <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
- <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
- </xsl:attribute-set>
-
- <!--###################################################
- colored and hyphenated links
- ################################################### -->
-
- <xsl:template match="ulink">
- <fo:basic-link external-destination="{@url}"
- xsl:use-attribute-sets="xref.properties"
- text-decoration="underline"
- color="blue">
- <xsl:choose>
- <xsl:when test="count(child::node())=0">
- <xsl:value-of select="@url"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates/>
- </xsl:otherwise>
- </xsl:choose>
- </fo:basic-link>
- </xsl:template>
-
- <xsl:template match="link">
- <fo:basic-link internal-destination="{@linkend}"
- xsl:use-attribute-sets="xref.properties"
- text-decoration="underline"
- color="blue">
- <xsl:choose>
- <xsl:when test="count(child::node())=0">
- <xsl:value-of select="@linkend"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates/>
- </xsl:otherwise>
- </xsl:choose>
- </fo:basic-link>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/reference/styles/html.xsl b/docs/reference/styles/html.xsl
deleted file mode 100644
index f9440e3..0000000
--- a/docs/reference/styles/html.xsl
+++ /dev/null
@@ -1,119 +0,0 @@
-<?xml version="1.0"?>
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-
-<!--
- This is the XSL HTML configuration file for the Apache Ki
- Reference Documentation.
--->
-<!DOCTYPE xsl:stylesheet [
- <!ENTITY db_xsl_path "../../../lib/docbook/docbook-xsl/">
- <!ENTITY callout_gfx_path "../images/callouts/">
- <!ENTITY admon_gfx_path "../images/admons/">
- ]>
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version="1.0"
- xmlns="http://www.w3.org/TR/xhtml1/transitional"
- exclude-result-prefixes="#default">
-
- <xsl:import href="&db_xsl_path;/html/docbook.xsl"/>
-
- <!--###################################################
- HTML Settings
- ################################################### -->
-
- <xsl:param name="html.stylesheet">html.css</xsl:param>
-
- <!-- These extensions are required for table printing and other stuff -->
- <xsl:param name="use.extensions">1</xsl:param>
- <xsl:param name="tablecolumns.extension">0</xsl:param>
- <xsl:param name="callout.extensions">1</xsl:param>
- <xsl:param name="graphicsize.extension">0</xsl:param>
-
- <!--###################################################
- Table Of Contents
- ################################################### -->
-
- <!-- Generate the TOCs for named components only -->
- <xsl:param name="generate.toc">
- book toc
- </xsl:param>
-
- <!-- Show only Sections up to level 3 in the TOCs -->
- <xsl:param name="toc.section.depth">3</xsl:param>
-
- <!--###################################################
- Labels
- ################################################### -->
-
- <!-- Label Chapters and Sections (numbering) -->
- <xsl:param name="chapter.autolabel">1</xsl:param>
- <xsl:param name="section.autolabel" select="1"/>
- <xsl:param name="section.label.includes.component.label" select="1"/>
-
- <!--###################################################
- Callouts
- ################################################### -->
-
- <!-- Use images for callouts instead of (1) (2) (3) -->
- <xsl:param name="callout.graphics">1</xsl:param>
- <xsl:param name="callout.graphics.path">&callout_gfx_path;</xsl:param>
-
- <!-- Place callout marks at this column in annotated areas -->
- <xsl:param name="callout.defaultcolumn">90</xsl:param>
-
- <!--###################################################
- Admonitions
- ################################################### -->
-
- <!-- Use nice graphics for admonitions -->
- <xsl:param name="admon.graphics">'1'</xsl:param>
- <xsl:param name="admon.graphics.path">&admon_gfx_path;</xsl:param>
-
- <!--###################################################
- Misc
- ################################################### -->
- <!-- Placement of titles -->
- <xsl:param name="formal.title.placement">
- figure after
- example before
- equation before
- table before
- procedure before
- </xsl:param>
- <xsl:template match="author" mode="titlepage.mode">
- <xsl:if test="name(preceding-sibling::*[1]) = 'author'">
- <xsl:text>,</xsl:text>
- </xsl:if>
- <span class="{name(.)}">
- <xsl:call-template name="person.name"/>
- <xsl:apply-templates mode="titlepage.mode" select="./contrib"/>
- <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
- </span>
- </xsl:template>
- <xsl:template match="authorgroup" mode="titlepage.mode">
- <div class="{name(.)}">
- <h2>Authors</h2>
- <p/>
- <xsl:apply-templates mode="titlepage.mode"/>
- </div>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/reference/styles/html_chunk.xsl b/docs/reference/styles/html_chunk.xsl
deleted file mode 100644
index 8b49cd6..0000000
--- a/docs/reference/styles/html_chunk.xsl
+++ /dev/null
@@ -1,239 +0,0 @@
-<?xml version="1.0" ?>
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one
- ~ or more contributor license agreements. See the NOTICE file
- ~ distributed with this work for additional information
- ~ regarding copyright ownership. The ASF licenses this file
- ~ to you under the Apache License, Version 2.0 (the
- ~ "License"); you may not use this file except in compliance
- ~ with the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied. See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-
-<!--
- This is the XSL HTML configuration file for the Apache Ki Reference Documentation.
--->
-<!DOCTYPE xsl:stylesheet [
- <!ENTITY db_xsl_path "../../../lib/docbook/docbook-xsl/">
- <!ENTITY callout_gfx_path "../images/callouts/">
- <!ENTITY admon_gfx_path "../images/admons/">
- ]>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
- xmlns="http://www.w3.org/TR/xhtml1/transitional"
- exclude-result-prefixes="#default">
- <xsl:import href="&db_xsl_path;/html/chunk.xsl"/>
- <!--###################################################
- HTML Settings
- ################################################### -->
- <xsl:param name="chunk.section.depth">'5'</xsl:param>
- <xsl:param name="use.id.as.filename">'1'</xsl:param>
- <xsl:param name="html.stylesheet">html.css</xsl:param>
- <!-- These extensions are required for table printing and other stuff -->
- <xsl:param name="use.extensions">1</xsl:param>
- <xsl:param name="tablecolumns.extension">0</xsl:param>
- <xsl:param name="callout.extensions">1</xsl:param>
- <xsl:param name="graphicsize.extension">0</xsl:param>
- <!--###################################################
- Table Of Contents
- ################################################### -->
- <!-- Generate the TOCs for named components only -->
- <xsl:param name="generate.toc">
- book toc
- qandaset toc
- </xsl:param>
- <!-- Show only Sections up to level 3 in the TOCs -->
- <xsl:param name="toc.section.depth">3</xsl:param>
- <!--###################################################
- Labels
- ################################################### -->
- <!-- Label Chapters and Sections (numbering) -->
- <xsl:param name="chapter.autolabel">1</xsl:param>
- <xsl:param name="section.autolabel" select="1"/>
- <xsl:param name="section.label.includes.component.label" select="1"/>
- <!--###################################################
- Callouts
- ################################################### -->
-
- <!-- Use images for callouts instead of (1) (2) (3) -->
- <xsl:param name="callout.graphics">1</xsl:param>
- <xsl:param name="callout.graphics.path">&callout_gfx_path;</xsl:param>
- <!-- Place callout marks at this column in annotated areas -->
- <xsl:param name="callout.defaultcolumn">90</xsl:param>
- <!--###################################################
- Admonitions
- ################################################### -->
- <!-- Use nice graphics for admonitions -->
- <xsl:param name="admon.graphics">'1'</xsl:param>
- <xsl:param name="admon.graphics.path">&admon_gfx_path;</xsl:param>
- <!--###################################################
- Misc
- ################################################### -->
- <!-- Placement of titles -->
- <xsl:param name="formal.title.placement">
- figure after
- example before
- equation before
- table before
- procedure before
- </xsl:param>
- <xsl:template match="author" mode="titlepage.mode">
- <xsl:if test="name(preceding-sibling::*[1]) = 'author'">
- <xsl:text>,</xsl:text>
- </xsl:if>
- <span class="{name(.)}">
- <xsl:call-template name="person.name"/>
- <xsl:apply-templates mode="titlepage.mode" select="./contrib"/>
- <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
- </span>
- </xsl:template>
- <xsl:template match="authorgroup" mode="titlepage.mode">
- <div class="{name(.)}">
- <h2>Authors</h2>
- <p/>
- <xsl:apply-templates mode="titlepage.mode"/>
- </div>
- </xsl:template>
- <!--###################################################
- Headers and Footers
- ################################################### -->
- <!-- let's have a Ki and Anjin banner across the top of each page -->
- <xsl:template name="user.header.navigation">
- <div style="background-color:white;border:none;height:73px;border:1px solid black;">
- <a style="border:none;" href="http://www.jsecurity.org/" title="Apache Ki">
- <img style="border:none;" src="images/xdev-jsecurity_logo.jpg"/>
- </a>
- <!-- <a style="border:none;" href="http://www.anjinllc.com/" title="AnjinLLC">
- <img style="border:none;position:absolute;padding-top:5px;right:42px;" src="images/anjin-banner-rhs.png" />
- </a> -->
- </div>
- </xsl:template>
- <!-- no other header navigation (prev, next, etc.) -->
- <xsl:template name="header.navigation"/>
- <xsl:param name="navig.showtitles">1</xsl:param>
- <!-- let's have a 'Sponsored by Anjin LLC' strapline (or somesuch) across the bottom of each page -->
- <xsl:template name="footer.navigation">
- <xsl:param name="prev" select="/foo"/>
- <xsl:param name="next" select="/foo"/>
- <xsl:param name="nav.context"/>
- <xsl:variable name="home" select="/*[1]"/>
- <xsl:variable name="up" select="parent::*"/>
- <xsl:variable name="row1" select="count($prev) > 0
- or count($up) > 0
- or count($next) > 0"/>
- <xsl:variable name="row2" select="($prev and $navig.showtitles != 0)
- or (generate-id($home) != generate-id(.)
- or $nav.context = 'toc')
- or ($chunk.tocs.and.lots != 0
- and $nav.context != 'toc')
- or ($next and $navig.showtitles != 0)"/>
- <xsl:if test="$suppress.navigation = '0' and $suppress.footer.navigation = '0'">
- <div class="navfooter">
- <xsl:if test="$footer.rule != 0">
- <hr/>
- </xsl:if>
- <xsl:if test="$row1 or $row2">
- <table width="100%" summary="Navigation footer">
- <xsl:if test="$row1">
- <tr>
- <td width="40%" align="left">
- <xsl:if test="count($prev)>0">
- <a accesskey="p">
- <xsl:attribute name="href">
- <xsl:call-template name="href.target">
- <xsl:with-param name="object" select="$prev"/>
- </xsl:call-template>
- </xsl:attribute>
- <xsl:call-template name="navig.content">
- <xsl:with-param name="direction" select="'prev'"/>
- </xsl:call-template>
- </a>
- </xsl:if>
- <xsl:text> </xsl:text>
- </td>
-
- <td width="20%" align="center">
- <xsl:choose>
- <xsl:when test="$home != . or $nav.context = 'toc'">
- <a accesskey="h">
- <xsl:attribute name="href">
- <xsl:call-template name="href.target">
- <xsl:with-param name="object" select="$home"/>
- </xsl:call-template>
- </xsl:attribute>
- <xsl:call-template name="navig.content">
- <xsl:with-param name="direction" select="'home'"/>
- </xsl:call-template>
- </a>
- <xsl:if test="$chunk.tocs.and.lots != 0 and $nav.context != 'toc'">
- <xsl:text> | </xsl:text>
- </xsl:if>
- </xsl:when>
- <xsl:otherwise> </xsl:otherwise>
- </xsl:choose>
- <xsl:if test="$chunk.tocs.and.lots != 0 and $nav.context != 'toc'">
- <a accesskey="t">
- <xsl:attribute name="href">
- <xsl:apply-templates select="/*[1]" mode="recursive-chunk-filename">
- <xsl:with-param name="recursive" select="true()"/>
- </xsl:apply-templates>
- <xsl:text>-toc</xsl:text>
- <xsl:value-of select="$html.ext"/>
- </xsl:attribute>
- <xsl:call-template name="gentext">
- <xsl:with-param name="key" select="'nav-toc'"/>
- </xsl:call-template>
- </a>
- </xsl:if>
- </td>
- <td width="40%" align="right">
- <xsl:text> </xsl:text>
- <xsl:if test="count($next)>0">
- <a accesskey="n">
- <xsl:attribute name="href">
- <xsl:call-template name="href.target">
- <xsl:with-param name="object" select="$next"/>
- </xsl:call-template>
- </xsl:attribute>
- <xsl:call-template name="navig.content">
- <xsl:with-param name="direction" select="'next'"/>
- </xsl:call-template>
- </a>
- </xsl:if>
- </td>
- </tr>
- </xsl:if>
- <xsl:if test="$row2">
- <tr>
- <td width="40%" align="left" valign="top">
- <xsl:if test="$navig.showtitles != 0">
- <xsl:apply-templates select="$prev" mode="object.title.markup"/>
- </xsl:if>
- <xsl:text> </xsl:text>
- </td>
- <td width="20%" align="center">
- <span style="color:white;font-size:90%;">
- <a href="http://www.anjinllc.com/" title="Anjin, LLC.">Sponsored by Anjin, LLC.</a>
- </span>
- </td>
- <td width="40%" align="right" valign="top">
- <xsl:text> </xsl:text>
- <xsl:if test="$navig.showtitles != 0">
- <xsl:apply-templates select="$next" mode="object.title.markup"/>
- </xsl:if>
- </td>
- </tr>
- </xsl:if>
- </table>
- </xsl:if>
- </div>
- </xsl:if>
- </xsl:template>
-</xsl:stylesheet>
diff --git a/pom.xml b/pom.xml
index 9f93559..933e664 100644
--- a/pom.xml
+++ b/pom.xml
@@ -54,7 +54,11 @@
<system>Jira</system>
<url>http://issues.apache.org/jira/browse/KI</url>
</issueManagement>
-
+ <ciManagement>
+ <system>Hudson</system>
+ <url>http://hudson.zones.apache.org/hudson/view/Ki/</url>
+ </ciManagement>
+
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/incubator/jsecurity/import/trunk</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/jsecurity/import/trunk
@@ -125,6 +129,60 @@
<version>2.2</version>
<inherited>true</inherited>
</plugin>
+ <plugin>
+ <groupId>com.agilejava.docbkx</groupId>
+ <artifactId>docbkx-maven-plugin</artifactId>
+ <!-- <version>2.0.7</version> -->
+ <executions>
+ <execution>
+ <goals>
+ <goal>generate-html</goal>
+ <goal>generate-pdf</goal>
+ </goals>
+ <phase>pre-site</phase>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.docbook</groupId>
+ <artifactId>docbook-xml</artifactId>
+ <version>4.4</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <includes>index.xml</includes>
+ <xincludeSupported>true</xincludeSupported>
+ <!-- <foCustomization>src/docbkx/resources/xsl/fopdf.xsl</foCustomization>
+ <htmlCustomization>src/docbkx/resources/xsl/html_chunk.xsl</htmlCustomization>
+ <htmlStylesheet>css/html.css</htmlStylesheet> -->
+ <chunkedOutput>true</chunkedOutput>
+ <entities>
+ <entity>
+ <name>version</name>
+ <value>${pom.version}</value>
+ </entity>
+ </entities>
+ <postProcess>
+ <copy todir="target/site/reference">
+ <fileset dir="target/docbkx">
+ <include name="**/*.html"/>
+ <include name="**/*.pdf"/>
+ </fileset>
+ </copy>
+ <copy todir="target/site/reference/html">
+ <fileset dir="src/docbkx/resources">
+ <include name="**/*.css"/>
+ <include name="**/*.png"/>
+ <include name="**/*.gif"/>
+ <include name="**/*.jpg"/>
+ <include name="**/*.tif"/>
+ </fileset>
+ </copy>
+ </postProcess>
+ </configuration>
+ </plugin>
+
</plugins>
</build>
diff --git a/docs/reference/src/index.xml b/src/docbkx/index.xml
similarity index 75%
rename from docs/reference/src/index.xml
rename to src/docbkx/index.xml
index 4c69905..5eeb6d1 100644
--- a/docs/reference/src/index.xml
+++ b/src/docbkx/index.xml
@@ -1,4 +1,4 @@
-<?xml version='1.0' encoding="iso-8859-1" ?>
+<?xml version='1.0' encoding="UTF-8" ?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
@@ -17,49 +17,56 @@
~ specific language governing permissions and limitations
~ under the License.
-->
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "../../../lib/docbook/docbook-dtd/docbookx.dtd"
- [
- <!ENTITY preface SYSTEM "preface.xml">
- <!ENTITY terminology SYSTEM "terminology.xml">
- <!ENTITY overview SYSTEM "overview.xml">
- <!ENTITY security-manager SYSTEM "security-manager.xml">
- <!ENTITY realms SYSTEM "realms.xml">
- <!ENTITY authentication SYSTEM "authentication.xml">
- <!ENTITY authorization SYSTEM "authorization.xml">
- <!ENTITY sessions SYSTEM "sessions.xml">
- <!ENTITY cryptography SYSTEM "cryptography.xml">
- <!ENTITY caching SYSTEM "caching.xml">
- <!ENTITY web-support SYSTEM "web-support.xml">
- <!ENTITY web-filter SYSTEM "web-filter.xml">
- <!ENTITY web-taglibs SYSTEM "web-taglibs.xml">
- <!ENTITY ki.tld SYSTEM "ki.tld.xml">
- ]>
-<book>
- <bookinfo>
- <title>Apache Ki Reference Documentation</title>
- <releaseinfo>1.0.0</releaseinfo>
+<book version="5.0" xml:id="apache-ki-reference-documentation"
+ xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xi="http://www.w3.org/2001/XInclude">
+
+ <info>
+ <title>Apache Ki</title>
+ <subtitle>Reference Documentation</subtitle>
<authorgroup>
<author>
- <firstname>Les</firstname>
- <surname>Hazlewood</surname>
+ <personname>
+ <firstname>Les</firstname>
+ <surname>Hazlewood</surname>
+ </personname>
</author>
</authorgroup>
<legalnotice>
<para>
- Copies of this document may be made for your own use and for
- distribution to others, provided that you do not charge any
- fee for such copies and further provided that each copy
- contains this Copyright Notice, whether distributed in print
- or electronically.
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+ </para>
+ <para>
+ <link href="http://www.apache.org/licenses/LICENSE-2.0">
+ http://www.apache.org/licenses/LICENSE-2.0
+ </link>
+ </para>
+ <para>
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
</para>
</legalnotice>
- </bookinfo>
+ </info>
+
<!-- front matter -->
<toc/>
- &preface;
- <part id="ki-quickstart">
+
+ <xi:include href="preface.xml"/>
+
+ <part xml:id="ki-quickstart">
<title>Apache Ki Quickstart</title>
- <partintro id="ki-quickstart-intro">
+ <partintro xml:id="ki-quickstart-intro">
<para>
This initial part of the reference documentation walks through the simplest quickstart application
so that you may become familiarized Ki's programming API and general concepts. While this
@@ -71,15 +78,16 @@
<note>
<para>
- The code for this quickstart application is in the <filename>samples/quickstart</filename>
+ The code for this quickstart application is in the
+ <filename>samples/quickstart</filename>
directory of the source distribution.
</para>
</note>
</partintro>
</part>
- <part id="ki-core">
+ <part xml:id="ki-core">
<title>Apache Ki Core</title>
- <partintro id="ki-core-intro">
+ <partintro xml:id="ki-core-intro">
<para>
This part of the reference documentation covers
Ki's core architectural components that support
@@ -88,7 +96,7 @@
clustered enterprise applications.
</para>
<para>
- Most important among these are the Subject and
+ Most important among these are the <interfacename>Subject</interfacename> and
SecurityManager components. These are then followed
by comprehensive coverage of the supporting compnents
responsiple for handling logging in, called an
@@ -116,10 +124,10 @@
<itemizedlist>
<listitem>
<para>
- <xref linkend="security-manager"/>
+ <link linkend="security-manager"/>
</para>
</listitem>
- <!-- <listitem>
+ <!-- <listitem>
<para><xref linkend="authentication"/></para>
</listitem>
<listitem>
@@ -136,16 +144,12 @@
</listitem> -->
</itemizedlist>
</partintro>
- &security-manager;
- &authentication;
- &authorization;
- &realms;
- &sessions;
- &cryptography;
+ <xi:include href="security-manager.xml"/>
</part>
- <!-- <part id="ki-web">
+
+ <!-- <part xml:id="ki-web">
<title>Web Support</title>
- <partintro id="ki-web-intro">
+ <partintro xml:id="ki-web-intro">
<para>
This part of the reference documentation covers
Ki's web support, specifically using Ki in
@@ -224,5 +228,5 @@
</partintro>
</part> -->
<!-- back matter -->
- &ki.tld;
+ <!-- <xi:include href="ki.tld.xml"/> -->
</book>
diff --git a/docs/reference/src/preface.xml b/src/docbkx/preface.xml
similarity index 87%
rename from docs/reference/src/preface.xml
rename to src/docbkx/preface.xml
index 8930612..099f8e6 100644
--- a/docs/reference/src/preface.xml
+++ b/src/docbkx/preface.xml
@@ -16,7 +16,10 @@
~ specific language governing permissions and limitations
~ under the License.
-->
-<preface>
+<preface version="5.0" xml:id="preface"
+ xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink">
+
<title>Preface</title>
<para>
@@ -31,8 +34,7 @@
While application security is usually a necessity, it would be nice if we could implement it whenever
we want, and without it being too difficult. Actually, it
<emphasis>shouldn't</emphasis>
- be difficult.
- In fact, it
+ be difficult. In fact, it
<emphasis>should</emphasis>
be downright easy. It should also be as transparent and
unintrusive as possible, so you don't have to change a lot of code to secure what you want.
@@ -53,20 +55,19 @@
most complete documentation on Ki and all of its features. It is
very much a work-in-progress, and we welcome suggestions and recommendations. If you have any,
we'd very much appreciate your feedback on our forums at
- <ulink url="http://www.jsecurity.org/forum">http://www.jsecurity.org/forum</ulink>
+ <link href="http://www.jsecurity.org/forum">http://www.jsecurity.org/forum</link>
or
mailing lists at
- <ulink url="http://www.jsecurity.org/mailinglists">http://www.jsecurity.org/mailinglists</ulink>
- .
+ <link href="http://www.jsecurity.org/mailinglists">http://www.jsecurity.org/mailinglists</link>.
</para>
<para>
Before continuing on, we'd like to give credit where it is due for the format of this
book. We sincerely appreciate all the work that Christian Bauer from the
- <ulink url="http://www.hibernate.org">Hibernate</ulink>
+ <link href="http://www.hibernate.org">Hibernate</link>
team and
Juergen Hoeller of the
- <ulink url="http://www.springframework.org">Spring</ulink>
+ <link href="http://www.springframework.org">Spring</link>
team did in ensuring this
document could be created in PDF and HTML formats. Without their efforts, it would have been an agnoizing
task for us to do ourselves.
diff --git a/docs/reference/styles/html.css b/src/docbkx/resources/css/html.css
similarity index 100%
rename from docs/reference/styles/html.css
rename to src/docbkx/resources/css/html.css
diff --git a/docs/reference/images/admons/blank.png b/src/docbkx/resources/images/admons/blank.png
similarity index 100%
rename from docs/reference/images/admons/blank.png
rename to src/docbkx/resources/images/admons/blank.png
Binary files differ
diff --git a/docs/reference/images/admons/caution.gif b/src/docbkx/resources/images/admons/caution.gif
similarity index 100%
rename from docs/reference/images/admons/caution.gif
rename to src/docbkx/resources/images/admons/caution.gif
Binary files differ
diff --git a/docs/reference/images/admons/caution.png b/src/docbkx/resources/images/admons/caution.png
similarity index 100%
rename from docs/reference/images/admons/caution.png
rename to src/docbkx/resources/images/admons/caution.png
Binary files differ
diff --git a/docs/reference/images/admons/caution.tif b/src/docbkx/resources/images/admons/caution.tif
similarity index 100%
rename from docs/reference/images/admons/caution.tif
rename to src/docbkx/resources/images/admons/caution.tif
Binary files differ
diff --git a/docs/reference/images/admons/draft.png b/src/docbkx/resources/images/admons/draft.png
similarity index 100%
rename from docs/reference/images/admons/draft.png
rename to src/docbkx/resources/images/admons/draft.png
Binary files differ
diff --git a/docs/reference/images/admons/home.gif b/src/docbkx/resources/images/admons/home.gif
similarity index 100%
rename from docs/reference/images/admons/home.gif
rename to src/docbkx/resources/images/admons/home.gif
Binary files differ
diff --git a/docs/reference/images/admons/home.png b/src/docbkx/resources/images/admons/home.png
similarity index 100%
rename from docs/reference/images/admons/home.png
rename to src/docbkx/resources/images/admons/home.png
Binary files differ
diff --git a/docs/reference/images/admons/important.gif b/src/docbkx/resources/images/admons/important.gif
similarity index 100%
rename from docs/reference/images/admons/important.gif
rename to src/docbkx/resources/images/admons/important.gif
Binary files differ
diff --git a/docs/reference/images/admons/important.png b/src/docbkx/resources/images/admons/important.png
similarity index 100%
rename from docs/reference/images/admons/important.png
rename to src/docbkx/resources/images/admons/important.png
Binary files differ
diff --git a/docs/reference/images/admons/important.tif b/src/docbkx/resources/images/admons/important.tif
similarity index 100%
rename from docs/reference/images/admons/important.tif
rename to src/docbkx/resources/images/admons/important.tif
Binary files differ
diff --git a/docs/reference/images/admons/next.gif b/src/docbkx/resources/images/admons/next.gif
similarity index 100%
rename from docs/reference/images/admons/next.gif
rename to src/docbkx/resources/images/admons/next.gif
Binary files differ
diff --git a/docs/reference/images/admons/next.png b/src/docbkx/resources/images/admons/next.png
similarity index 100%
rename from docs/reference/images/admons/next.png
rename to src/docbkx/resources/images/admons/next.png
Binary files differ
diff --git a/docs/reference/images/admons/note.gif b/src/docbkx/resources/images/admons/note.gif
similarity index 100%
rename from docs/reference/images/admons/note.gif
rename to src/docbkx/resources/images/admons/note.gif
Binary files differ
diff --git a/docs/reference/images/admons/note.png b/src/docbkx/resources/images/admons/note.png
similarity index 100%
rename from docs/reference/images/admons/note.png
rename to src/docbkx/resources/images/admons/note.png
Binary files differ
diff --git a/docs/reference/images/admons/note.tif b/src/docbkx/resources/images/admons/note.tif
similarity index 100%
rename from docs/reference/images/admons/note.tif
rename to src/docbkx/resources/images/admons/note.tif
Binary files differ
diff --git a/docs/reference/images/admons/prev.gif b/src/docbkx/resources/images/admons/prev.gif
similarity index 100%
rename from docs/reference/images/admons/prev.gif
rename to src/docbkx/resources/images/admons/prev.gif
Binary files differ
diff --git a/docs/reference/images/admons/prev.png b/src/docbkx/resources/images/admons/prev.png
similarity index 100%
rename from docs/reference/images/admons/prev.png
rename to src/docbkx/resources/images/admons/prev.png
Binary files differ
diff --git a/docs/reference/images/admons/tip.gif b/src/docbkx/resources/images/admons/tip.gif
similarity index 100%
rename from docs/reference/images/admons/tip.gif
rename to src/docbkx/resources/images/admons/tip.gif
Binary files differ
diff --git a/docs/reference/images/admons/tip.png b/src/docbkx/resources/images/admons/tip.png
similarity index 100%
rename from docs/reference/images/admons/tip.png
rename to src/docbkx/resources/images/admons/tip.png
Binary files differ
diff --git a/docs/reference/images/admons/tip.tif b/src/docbkx/resources/images/admons/tip.tif
similarity index 100%
rename from docs/reference/images/admons/tip.tif
rename to src/docbkx/resources/images/admons/tip.tif
Binary files differ
diff --git a/docs/reference/images/admons/toc-blank.png b/src/docbkx/resources/images/admons/toc-blank.png
similarity index 100%
rename from docs/reference/images/admons/toc-blank.png
rename to src/docbkx/resources/images/admons/toc-blank.png
Binary files differ
diff --git a/docs/reference/images/admons/toc-minus.png b/src/docbkx/resources/images/admons/toc-minus.png
similarity index 100%
rename from docs/reference/images/admons/toc-minus.png
rename to src/docbkx/resources/images/admons/toc-minus.png
Binary files differ
diff --git a/docs/reference/images/admons/toc-plus.png b/src/docbkx/resources/images/admons/toc-plus.png
similarity index 100%
rename from docs/reference/images/admons/toc-plus.png
rename to src/docbkx/resources/images/admons/toc-plus.png
Binary files differ
diff --git a/docs/reference/images/admons/up.gif b/src/docbkx/resources/images/admons/up.gif
similarity index 100%
rename from docs/reference/images/admons/up.gif
rename to src/docbkx/resources/images/admons/up.gif
Binary files differ
diff --git a/docs/reference/images/admons/up.png b/src/docbkx/resources/images/admons/up.png
similarity index 100%
rename from docs/reference/images/admons/up.png
rename to src/docbkx/resources/images/admons/up.png
Binary files differ
diff --git a/docs/reference/images/admons/warning.gif b/src/docbkx/resources/images/admons/warning.gif
similarity index 100%
rename from docs/reference/images/admons/warning.gif
rename to src/docbkx/resources/images/admons/warning.gif
Binary files differ
diff --git a/docs/reference/images/admons/warning.png b/src/docbkx/resources/images/admons/warning.png
similarity index 100%
rename from docs/reference/images/admons/warning.png
rename to src/docbkx/resources/images/admons/warning.png
Binary files differ
diff --git a/docs/reference/images/admons/warning.tif b/src/docbkx/resources/images/admons/warning.tif
similarity index 100%
rename from docs/reference/images/admons/warning.tif
rename to src/docbkx/resources/images/admons/warning.tif
Binary files differ
diff --git a/src/docbkx/resources/xsl/fopdf.xsl b/src/docbkx/resources/xsl/fopdf.xsl
new file mode 100644
index 0000000..7dbd558
--- /dev/null
+++ b/src/docbkx/resources/xsl/fopdf.xsl
@@ -0,0 +1,438 @@
+<?xml version="1.0"?>
+
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+
+<!--
+ This is the XSL FO (PDF) stylesheet for the Apache Ki reference
+ documentation.
+
+ Thanks are due to Christian Bauer of the Hibernate project team
+ and Juergen Hoeller of the Spring Framework team
+ for writing the original stylesheet(s) upon which this one is based.
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format"
+ version="1.0">
+
+
+ <xsl:import href="urn:docbkx:stylesheet"/>
+
+ <!--###################################################
+ Custom Title Page
+ ################################################### -->
+
+ <xsl:template name="book.titlepage.recto">
+ <fo:block>
+ <fo:table table-layout="fixed" width="175mm">
+ <fo:table-column column-width="175mm"/>
+ <fo:table-body>
+ <fo:table-row>
+ <fo:table-cell text-align="center">
+ <fo:block>
+ <fo:block font-family="Helvetica" font-size="22pt" padding-before="10mm">
+ <xsl:value-of select="bookinfo/title"/>
+ </fo:block>
+ </fo:block>
+ <fo:block font-family="Helvetica" font-size="20pt" padding-before="10mm">
+ <xsl:value-of select="bookinfo/subtitle"/>
+ </fo:block>
+ <fo:block font-family="Helvetica" font-size="12pt" padding="10mm">
+ <xsl:value-of select="bookinfo/releaseinfo"/>
+ </fo:block>
+ </fo:table-cell>
+ </fo:table-row>
+ <fo:table-row>
+ <fo:table-cell text-align="center">
+ <fo:block font-family="Helvetica" font-size="14pt" padding="10mm">
+ <xsl:value-of select="bookinfo/pubdate"/>
+ </fo:block>
+ </fo:table-cell>
+ </fo:table-row>
+ <fo:table-row>
+ <fo:table-cell text-align="center">
+ <fo:block font-family="Helvetica" font-size="12pt" padding="10mm">
+ <xsl:text>Copyright © 2008-2009 Apache Software Foundation, </xsl:text>
+ <xsl:for-each select="bookinfo/authorgroup/author">
+ <xsl:if test="position() > 1">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:value-of select="firstname"/>
+ <xsl:text> </xsl:text>
+ <xsl:value-of select="surname"/>
+ </xsl:for-each>
+ </fo:block>
+ <fo:block font-family="Helvetica" font-size="10pt" padding="1mm">
+ <xsl:value-of select="bookinfo/legalnotice"/>
+ </fo:block>
+ </fo:table-cell>
+ </fo:table-row>
+ </fo:table-body>
+ </fo:table>
+ </fo:block>
+ </xsl:template>
+
+ <!-- Prevent blank pages in output -->
+ <xsl:template name="book.titlepage.before.verso">
+ </xsl:template>
+ <xsl:template name="book.titlepage.verso">
+ </xsl:template>
+ <xsl:template name="book.titlepage.separator">
+ </xsl:template>
+
+ <!--###################################################
+ Header
+ ################################################### -->
+
+ <!-- More space in the center header for long text -->
+ <xsl:attribute-set name="header.content.properties">
+ <xsl:attribute name="font-family">
+ <xsl:value-of select="$body.font.family"/>
+ </xsl:attribute>
+ <xsl:attribute name="margin-left">-5em</xsl:attribute>
+ <xsl:attribute name="margin-right">-5em</xsl:attribute>
+ </xsl:attribute-set>
+
+ <!--###################################################
+ Custom Footer
+ ################################################### -->
+ <xsl:template name="footer.content">
+ <xsl:param name="pageclass" select="''"/>
+ <xsl:param name="sequence" select="''"/>
+ <xsl:param name="position" select="''"/>
+ <xsl:param name="gentext-key" select="''"/>
+ <xsl:variable name="Version">
+ <xsl:if test="//releaseinfo">
+ <xsl:text>Apache Ki (</xsl:text>
+ <xsl:value-of select="//releaseinfo"/>
+ <xsl:text>)</xsl:text>
+ </xsl:if>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="$sequence='blank'">
+ <xsl:if test="$position = 'center'">
+ <xsl:value-of select="$Version"/>
+ </xsl:if>
+ </xsl:when>
+ <!-- for double sided printing, print page numbers on alternating sides (of the page) -->
+ <xsl:when test="$double.sided != 0">
+ <xsl:choose>
+ <xsl:when test="$sequence = 'even' and $position='left'">
+ <fo:page-number/>
+ </xsl:when>
+ <xsl:when test="$sequence = 'odd' and $position='right'">
+ <fo:page-number/>
+ </xsl:when>
+ <xsl:when test="$position='center'">
+ <xsl:value-of select="$Version"/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:when>
+ <!-- for single sided printing, print all page numbers on the right (of the page) -->
+ <xsl:when test="$double.sided = 0">
+ <xsl:choose>
+ <xsl:when test="$position='center'">
+ <xsl:value-of select="$Version"/>
+ </xsl:when>
+ <xsl:when test="$position='right'">
+ <fo:page-number/>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:template>
+
+ <!--###################################################
+ Extensions
+ ################################################### -->
+
+ <!-- These extensions are required for table printing and other stuff -->
+ <xsl:param name="use.extensions">1</xsl:param>
+ <xsl:param name="tablecolumns.extension">0</xsl:param>
+ <xsl:param name="callout.extensions">1</xsl:param>
+ <!-- FOP provide only PDF Bookmarks at the moment -->
+ <xsl:param name="fop.extensions">1</xsl:param>
+
+ <!--###################################################
+ Table Of Contents
+ ################################################### -->
+
+ <!-- Generate the TOCs for named components only -->
+ <xsl:param name="generate.toc">
+ book toc
+ </xsl:param>
+
+ <!-- Show only Sections up to level 3 in the TOCs -->
+ <xsl:param name="toc.section.depth">2</xsl:param>
+
+ <!-- Dot and Whitespace as separator in TOC between Label and Title-->
+ <xsl:param name="autotoc.label.separator" select="'. '"/>
+
+
+ <!--###################################################
+ Paper & Page Size
+ ################################################### -->
+
+ <!-- Paper type, no headers on blank pages, no double sided printing -->
+ <xsl:param name="paper.type" select="'A4'"/>
+ <xsl:param name="double.sided">0</xsl:param>
+ <xsl:param name="headers.on.blank.pages">0</xsl:param>
+ <xsl:param name="footers.on.blank.pages">0</xsl:param>
+
+ <!-- Space between paper border and content (chaotic stuff, don't touch) -->
+ <xsl:param name="page.margin.top">5mm</xsl:param>
+ <xsl:param name="region.before.extent">10mm</xsl:param>
+ <xsl:param name="body.margin.top">10mm</xsl:param>
+
+ <xsl:param name="body.margin.bottom">15mm</xsl:param>
+ <xsl:param name="region.after.extent">10mm</xsl:param>
+ <xsl:param name="page.margin.bottom">0mm</xsl:param>
+
+ <xsl:param name="page.margin.outer">18mm</xsl:param>
+ <xsl:param name="page.margin.inner">18mm</xsl:param>
+
+ <!-- No intendation of Titles -->
+ <xsl:param name="title.margin.left">0pc</xsl:param>
+
+ <!--###################################################
+ Fonts & Styles
+ ################################################### -->
+
+ <!-- Left aligned text and no hyphenation -->
+ <xsl:param name="alignment">justify</xsl:param>
+ <xsl:param name="hyphenate">false</xsl:param>
+
+ <!-- Default Font size -->
+ <xsl:param name="body.font.master">11</xsl:param>
+ <xsl:param name="body.font.small">8</xsl:param>
+
+ <!-- Line height in body text -->
+ <xsl:param name="line-height">1.4</xsl:param>
+
+ <!-- Monospaced fonts are smaller than regular text -->
+ <xsl:attribute-set name="monospace.properties">
+ <xsl:attribute name="font-family">
+ <xsl:value-of select="$monospace.font.family"/>
+ </xsl:attribute>
+ <xsl:attribute name="font-size">0.8em</xsl:attribute>
+ </xsl:attribute-set>
+
+ <!--###################################################
+ Tables
+ ################################################### -->
+
+ <!-- The table width should be adapted to the paper size -->
+ <xsl:param name="default.table.width">17.4cm</xsl:param>
+
+ <!-- Some padding inside tables -->
+ <xsl:attribute-set name="table.cell.padding">
+ <xsl:attribute name="padding-left">4pt</xsl:attribute>
+ <xsl:attribute name="padding-right">4pt</xsl:attribute>
+ <xsl:attribute name="padding-top">4pt</xsl:attribute>
+ <xsl:attribute name="padding-bottom">4pt</xsl:attribute>
+ </xsl:attribute-set>
+
+ <!-- Only hairlines as frame and cell borders in tables -->
+ <xsl:param name="table.frame.border.thickness">0.1pt</xsl:param>
+ <xsl:param name="table.cell.border.thickness">0.1pt</xsl:param>
+
+ <!--###################################################
+ Labels
+ ################################################### -->
+
+ <!-- Label Chapters and Sections (numbering) -->
+ <xsl:param name="chapter.autolabel">1</xsl:param>
+ <xsl:param name="section.autolabel" select="1"/>
+ <xsl:param name="section.label.includes.component.label" select="1"/>
+
+ <!--###################################################
+ Titles
+ ################################################### -->
+
+ <!-- Chapter title size -->
+ <xsl:attribute-set name="chapter.titlepage.recto.style">
+ <xsl:attribute name="text-align">left</xsl:attribute>
+ <xsl:attribute name="font-weight">bold</xsl:attribute>
+ <xsl:attribute name="font-size">
+ <xsl:value-of select="$body.font.master * 1.8"/>
+ <xsl:text>pt</xsl:text>
+ </xsl:attribute>
+ </xsl:attribute-set>
+
+ <!-- Why is the font-size for chapters hardcoded in the XSL FO templates?
+ Let's remove it, so this sucker can use our attribute-set only... -->
+ <xsl:template match="title" mode="chapter.titlepage.recto.auto.mode">
+ <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
+ xsl:use-attribute-sets="chapter.titlepage.recto.style">
+ <xsl:call-template name="component.title">
+ <xsl:with-param name="node" select="ancestor-or-self::chapter[1]"/>
+ </xsl:call-template>
+ </fo:block>
+ </xsl:template>
+
+ <!-- Sections 1, 2 and 3 titles have a small bump factor and padding -->
+ <xsl:attribute-set name="section.title.level1.properties">
+ <xsl:attribute name="space-before.optimum">0.8em</xsl:attribute>
+ <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+ <xsl:attribute name="space-before.maximum">0.8em</xsl:attribute>
+ <xsl:attribute name="font-size">
+ <xsl:value-of select="$body.font.master * 1.5"/>
+ <xsl:text>pt</xsl:text>
+ </xsl:attribute>
+ <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
+ <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
+ <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
+ </xsl:attribute-set>
+ <xsl:attribute-set name="section.title.level2.properties">
+ <xsl:attribute name="space-before.optimum">0.6em</xsl:attribute>
+ <xsl:attribute name="space-before.minimum">0.6em</xsl:attribute>
+ <xsl:attribute name="space-before.maximum">0.6em</xsl:attribute>
+ <xsl:attribute name="font-size">
+ <xsl:value-of select="$body.font.master * 1.25"/>
+ <xsl:text>pt</xsl:text>
+ </xsl:attribute>
+ <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
+ <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
+ <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
+ </xsl:attribute-set>
+ <xsl:attribute-set name="section.title.level3.properties">
+ <xsl:attribute name="space-before.optimum">0.4em</xsl:attribute>
+ <xsl:attribute name="space-before.minimum">0.4em</xsl:attribute>
+ <xsl:attribute name="space-before.maximum">0.4em</xsl:attribute>
+ <xsl:attribute name="font-size">
+ <xsl:value-of select="$body.font.master * 1.0"/>
+ <xsl:text>pt</xsl:text>
+ </xsl:attribute>
+ <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
+ <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
+ <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
+ </xsl:attribute-set>
+
+ <!-- Titles of formal objects (tables, examples, ...) -->
+ <xsl:attribute-set name="formal.title.properties" use-attribute-sets="normal.para.spacing">
+ <xsl:attribute name="font-weight">bold</xsl:attribute>
+ <xsl:attribute name="font-size">
+ <xsl:value-of select="$body.font.master"/>
+ <xsl:text>pt</xsl:text>
+ </xsl:attribute>
+ <xsl:attribute name="hyphenate">false</xsl:attribute>
+ <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
+ <xsl:attribute name="space-after.optimum">0.6em</xsl:attribute>
+ <xsl:attribute name="space-after.maximum">0.8em</xsl:attribute>
+ </xsl:attribute-set>
+
+ <!--###################################################
+ Programlistings
+ ################################################### -->
+
+ <!-- Verbatim text formatting (programlistings) -->
+ <xsl:attribute-set name="monospace.verbatim.properties">
+ <xsl:attribute name="font-size">
+ <xsl:value-of select="$body.font.small * 1.0"/>
+ <xsl:text>pt</xsl:text>
+ </xsl:attribute>
+ </xsl:attribute-set>
+
+ <xsl:attribute-set name="verbatim.properties">
+ <xsl:attribute name="space-before.minimum">1em</xsl:attribute>
+ <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+ <xsl:attribute name="space-before.maximum">1em</xsl:attribute>
+ <xsl:attribute name="border-color">#444444</xsl:attribute>
+ <xsl:attribute name="border-style">solid</xsl:attribute>
+ <xsl:attribute name="border-width">0.1pt</xsl:attribute>
+ <xsl:attribute name="padding-top">0.5em</xsl:attribute>
+ <xsl:attribute name="padding-left">0.5em</xsl:attribute>
+ <xsl:attribute name="padding-right">0.5em</xsl:attribute>
+ <xsl:attribute name="padding-bottom">0.5em</xsl:attribute>
+ <xsl:attribute name="margin-left">0.5em</xsl:attribute>
+ <xsl:attribute name="margin-right">0.5em</xsl:attribute>
+ </xsl:attribute-set>
+
+ <!-- Shade (background) programlistings -->
+ <xsl:param name="shade.verbatim">1</xsl:param>
+ <xsl:attribute-set name="shade.verbatim.style">
+ <xsl:attribute name="background-color">#F0F0F0</xsl:attribute>
+ </xsl:attribute-set>
+
+ <!--###################################################
+ Callouts
+ ################################################### -->
+
+ <!-- Use images for callouts instead of (1) (2) (3) -->
+ <xsl:param name="callout.graphics">0</xsl:param>
+ <xsl:param name="callout.unicode">1</xsl:param>
+
+ <!-- Place callout marks at this column in annotated areas -->
+ <xsl:param name="callout.defaultcolumn">90</xsl:param>
+
+ <!--###################################################
+ Admonitions
+ ################################################### -->
+
+ <!-- Use nice graphics for admonitions -->
+ <xsl:param name="admon.graphics">'1'</xsl:param>
+ <!-- <xsl:param name="admon.graphics.path">&admon_gfx_path;</xsl:param> -->
+
+ <!--###################################################
+ Misc
+ ################################################### -->
+
+ <!-- Placement of titles -->
+ <xsl:param name="formal.title.placement">
+ figure after
+ example before
+ equation before
+ table before
+ procedure before
+ </xsl:param>
+
+ <!-- Format Variable Lists as Blocks (prevents horizontal overflow) -->
+ <xsl:param name="variablelist.as.blocks">1</xsl:param>
+
+ <!-- The horrible list spacing problems -->
+ <xsl:attribute-set name="list.block.spacing">
+ <xsl:attribute name="space-before.optimum">0.8em</xsl:attribute>
+ <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+ <xsl:attribute name="space-before.maximum">0.8em</xsl:attribute>
+ <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
+ <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
+ <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
+ </xsl:attribute-set>
+
+ <!--###################################################
+ colored and hyphenated links
+ ################################################### -->
+ <xsl:template match="ulink">
+ <fo:basic-link external-destination="{@url}"
+ xsl:use-attribute-sets="xref.properties"
+ text-decoration="underline"
+ color="blue">
+ <xsl:choose>
+ <xsl:when test="count(child::node())=0">
+ <xsl:value-of select="@url"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </fo:basic-link>
+ </xsl:template>
+
+</xsl:stylesheet>
+
diff --git a/src/docbkx/resources/xsl/html.xsl b/src/docbkx/resources/xsl/html.xsl
new file mode 100644
index 0000000..2263b00
--- /dev/null
+++ b/src/docbkx/resources/xsl/html.xsl
@@ -0,0 +1,111 @@
+<?xml version="1.0"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+
+<!--
+ This is the XSL HTML configuration file for the Apache Ki
+ Reference Documentation.
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format"
+ version="1.0">
+
+ <xsl:import href="urn:docbkx:stylesheet"/>
+
+
+ <!--###################################################
+ HTML Settings
+ ################################################### -->
+
+ <xsl:param name="html.stylesheet">html.css</xsl:param>
+
+ <!-- These extensions are required for table printing and other stuff -->
+ <xsl:param name="use.extensions">1</xsl:param>
+ <xsl:param name="tablecolumns.extension">0</xsl:param>
+ <xsl:param name="callout.extensions">1</xsl:param>
+ <xsl:param name="graphicsize.extension">0</xsl:param>
+
+ <!--###################################################
+ Table Of Contents
+ ################################################### -->
+
+ <!-- Generate the TOCs for named components only -->
+ <xsl:param name="generate.toc">
+ book toc
+ </xsl:param>
+
+ <!-- Show only Sections up to level 3 in the TOCs -->
+ <xsl:param name="toc.section.depth">3</xsl:param>
+
+ <!--###################################################
+ Labels
+ ################################################### -->
+
+ <!-- Label Chapters and Sections (numbering) -->
+ <xsl:param name="chapter.autolabel">1</xsl:param>
+ <xsl:param name="section.autolabel" select="1"/>
+ <xsl:param name="section.label.includes.component.label" select="1"/>
+
+ <!--###################################################
+ Callouts
+ ################################################### -->
+
+ <!-- Use images for callouts instead of (1) (2) (3) -->
+ <xsl:param name="callout.graphics">1</xsl:param>
+
+ <!-- Place callout marks at this column in annotated areas -->
+ <xsl:param name="callout.defaultcolumn">90</xsl:param>
+
+ <!--###################################################
+ Admonitions
+ ################################################### -->
+
+ <!-- Use nice graphics for admonitions -->
+ <xsl:param name="admon.graphics">'1'</xsl:param>
+
+ <!--###################################################
+ Misc
+ ################################################### -->
+ <!-- Placement of titles -->
+ <xsl:param name="formal.title.placement">
+ figure after
+ example before
+ equation before
+ table before
+ procedure before
+ </xsl:param>
+ <xsl:template match="author" mode="titlepage.mode">
+ <xsl:if test="name(preceding-sibling::*[1]) = 'author'">
+ <xsl:text>,</xsl:text>
+ </xsl:if>
+ <span class="{name(.)}">
+ <xsl:call-template name="person.name"/>
+ <xsl:apply-templates mode="titlepage.mode" select="./contrib"/>
+ <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
+ </span>
+ </xsl:template>
+ <xsl:template match="authorgroup" mode="titlepage.mode">
+ <div class="{name(.)}">
+ <h2>Authors</h2>
+ <p/>
+ <xsl:apply-templates mode="titlepage.mode"/>
+ </div>
+ </xsl:template>
+
+</xsl:stylesheet>
diff --git a/src/docbkx/resources/xsl/html_chunk.xsl b/src/docbkx/resources/xsl/html_chunk.xsl
new file mode 100644
index 0000000..a20d28a
--- /dev/null
+++ b/src/docbkx/resources/xsl/html_chunk.xsl
@@ -0,0 +1,236 @@
+<?xml version="1.0" ?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+
+<!--
+ This is the XSL HTML configuration file for the Apache Ki Reference Documentation.
+-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:fo="http://www.w3.org/1999/XSL/Format"
+ version="1.0">
+
+ <xsl:import href="urn:docbkx:stylesheet"/>
+
+ <!--###################################################
+ HTML Settings
+ ################################################### -->
+ <xsl:param name="chunk.section.depth">'5'</xsl:param>
+ <xsl:param name="use.id.as.filename">'1'</xsl:param>
+ <xsl:param name="html.stylesheet">html.css</xsl:param>
+ <!-- These extensions are required for table printing and other stuff -->
+ <xsl:param name="use.extensions">1</xsl:param>
+ <xsl:param name="tablecolumns.extension">0</xsl:param>
+ <xsl:param name="callout.extensions">1</xsl:param>
+ <xsl:param name="graphicsize.extension">0</xsl:param>
+ <!--###################################################
+ Table Of Contents
+ ################################################### -->
+ <!-- Generate the TOCs for named components only -->
+ <xsl:param name="generate.toc">
+ book toc
+ qandaset toc
+ </xsl:param>
+ <!-- Show only Sections up to level 3 in the TOCs -->
+ <xsl:param name="toc.section.depth">3</xsl:param>
+ <!--###################################################
+ Labels
+ ################################################### -->
+ <!-- Label Chapters and Sections (numbering) -->
+ <xsl:param name="chapter.autolabel">1</xsl:param>
+ <xsl:param name="section.autolabel" select="1"/>
+ <xsl:param name="section.label.includes.component.label" select="1"/>
+ <!--###################################################
+ Callouts
+ ################################################### -->
+
+ <!-- Use images for callouts instead of (1) (2) (3) -->
+ <xsl:param name="callout.graphics">1</xsl:param>
+ <!-- Place callout marks at this column in annotated areas -->
+ <xsl:param name="callout.defaultcolumn">90</xsl:param>
+ <!--###################################################
+ Admonitions
+ ################################################### -->
+ <!-- Use nice graphics for admonitions -->
+ <xsl:param name="admon.graphics">'1'</xsl:param>
+ <!--###################################################
+ Misc
+ ################################################### -->
+ <!-- Placement of titles -->
+ <xsl:param name="formal.title.placement">
+ figure after
+ example before
+ equation before
+ table before
+ procedure before
+ </xsl:param>
+ <xsl:template match="author" mode="titlepage.mode">
+ <xsl:if test="name(preceding-sibling::*[1]) = 'author'">
+ <xsl:text>,</xsl:text>
+ </xsl:if>
+ <span class="{name(.)}">
+ <xsl:call-template name="person.name"/>
+ <xsl:apply-templates mode="titlepage.mode" select="./contrib"/>
+ <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
+ </span>
+ </xsl:template>
+ <xsl:template match="authorgroup" mode="titlepage.mode">
+ <div class="{name(.)}">
+ <h2>Authors</h2>
+ <p/>
+ <xsl:apply-templates mode="titlepage.mode"/>
+ </div>
+ </xsl:template>
+ <!--###################################################
+ Headers and Footers
+ ################################################### -->
+ <!-- let's have a Ki and Anjin banner across the top of each page -->
+ <xsl:template name="user.header.navigation">
+ <div style="background-color:white;border:none;height:73px;border:1px solid black;">
+ <a style="border:none;" href="http://www.jsecurity.org/" title="Apache Ki">
+ <img style="border:none;" src="images/xdev-jsecurity_logo.jpg"/>
+ </a>
+ <!-- <a style="border:none;" href="http://www.anjinllc.com/" title="AnjinLLC">
+ <img style="border:none;position:absolute;padding-top:5px;right:42px;" src="images/anjin-banner-rhs.png" />
+ </a> -->
+ </div>
+ </xsl:template>
+ <!-- no other header navigation (prev, next, etc.) -->
+ <xsl:template name="header.navigation"/>
+ <xsl:param name="navig.showtitles">1</xsl:param>
+ <!-- let's have a 'Sponsored by Anjin LLC' strapline (or somesuch) across the bottom of each page -->
+ <xsl:template name="footer.navigation">
+ <xsl:param name="prev" select="/foo"/>
+ <xsl:param name="next" select="/foo"/>
+ <xsl:param name="nav.context"/>
+ <xsl:variable name="home" select="/*[1]"/>
+ <xsl:variable name="up" select="parent::*"/>
+ <xsl:variable name="row1" select="count($prev) > 0
+ or count($up) > 0
+ or count($next) > 0"/>
+ <xsl:variable name="row2" select="($prev and $navig.showtitles != 0)
+ or (generate-id($home) != generate-id(.)
+ or $nav.context = 'toc')
+ or ($chunk.tocs.and.lots != 0
+ and $nav.context != 'toc')
+ or ($next and $navig.showtitles != 0)"/>
+ <xsl:if test="$suppress.navigation = '0' and $suppress.footer.navigation = '0'">
+ <div class="navfooter">
+ <xsl:if test="$footer.rule != 0">
+ <hr/>
+ </xsl:if>
+ <xsl:if test="$row1 or $row2">
+ <table width="100%" summary="Navigation footer">
+ <xsl:if test="$row1">
+ <tr>
+ <td width="40%" align="left">
+ <xsl:if test="count($prev)>0">
+ <a accesskey="p">
+ <xsl:attribute name="href">
+ <xsl:call-template name="href.target">
+ <xsl:with-param name="object" select="$prev"/>
+ </xsl:call-template>
+ </xsl:attribute>
+ <xsl:call-template name="navig.content">
+ <xsl:with-param name="direction" select="'prev'"/>
+ </xsl:call-template>
+ </a>
+ </xsl:if>
+ <xsl:text> </xsl:text>
+ </td>
+
+ <td width="20%" align="center">
+ <xsl:choose>
+ <xsl:when test="$home != . or $nav.context = 'toc'">
+ <a accesskey="h">
+ <xsl:attribute name="href">
+ <xsl:call-template name="href.target">
+ <xsl:with-param name="object" select="$home"/>
+ </xsl:call-template>
+ </xsl:attribute>
+ <xsl:call-template name="navig.content">
+ <xsl:with-param name="direction" select="'home'"/>
+ </xsl:call-template>
+ </a>
+ <xsl:if test="$chunk.tocs.and.lots != 0 and $nav.context != 'toc'">
+ <xsl:text> | </xsl:text>
+ </xsl:if>
+ </xsl:when>
+ <xsl:otherwise> </xsl:otherwise>
+ </xsl:choose>
+ <xsl:if test="$chunk.tocs.and.lots != 0 and $nav.context != 'toc'">
+ <a accesskey="t">
+ <xsl:attribute name="href">
+ <xsl:apply-templates select="/*[1]" mode="recursive-chunk-filename">
+ <xsl:with-param name="recursive" select="true()"/>
+ </xsl:apply-templates>
+ <xsl:text>-toc</xsl:text>
+ <xsl:value-of select="$html.ext"/>
+ </xsl:attribute>
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'nav-toc'"/>
+ </xsl:call-template>
+ </a>
+ </xsl:if>
+ </td>
+ <td width="40%" align="right">
+ <xsl:text> </xsl:text>
+ <xsl:if test="count($next)>0">
+ <a accesskey="n">
+ <xsl:attribute name="href">
+ <xsl:call-template name="href.target">
+ <xsl:with-param name="object" select="$next"/>
+ </xsl:call-template>
+ </xsl:attribute>
+ <xsl:call-template name="navig.content">
+ <xsl:with-param name="direction" select="'next'"/>
+ </xsl:call-template>
+ </a>
+ </xsl:if>
+ </td>
+ </tr>
+ </xsl:if>
+ <xsl:if test="$row2">
+ <tr>
+ <td width="40%" align="left" valign="top">
+ <xsl:if test="$navig.showtitles != 0">
+ <xsl:apply-templates select="$prev" mode="object.title.markup"/>
+ </xsl:if>
+ <xsl:text> </xsl:text>
+ </td>
+ <td width="20%" align="center">
+ <span style="color:white;font-size:90%;">
+ <a href="http://www.anjinllc.com/" title="Anjin, LLC.">Sponsored by Anjin,
+ LLC.
+ </a>
+ </span>
+ </td>
+ <td width="40%" align="right" valign="top">
+ <xsl:text> </xsl:text>
+ <xsl:if test="$navig.showtitles != 0">
+ <xsl:apply-templates select="$next" mode="object.title.markup"/>
+ </xsl:if>
+ </td>
+ </tr>
+ </xsl:if>
+ </table>
+ </xsl:if>
+ </div>
+ </xsl:if>
+ </xsl:template>
+</xsl:stylesheet>
diff --git a/docs/reference/styles/tld.to.docbook.xsl b/src/docbkx/resources/xsl/tld.to.docbook.xsl
similarity index 100%
rename from docs/reference/styles/tld.to.docbook.xsl
rename to src/docbkx/resources/xsl/tld.to.docbook.xsl
diff --git a/docs/reference/src/security-manager.xml b/src/docbkx/security-manager.xml
similarity index 83%
rename from docs/reference/src/security-manager.xml
rename to src/docbkx/security-manager.xml
index 3a71b36..9925cfd 100644
--- a/docs/reference/src/security-manager.xml
+++ b/src/docbkx/security-manager.xml
@@ -17,10 +17,13 @@
~ specific language governing permissions and limitations
~ under the License.
-->
-<chapter id="security-manager">
+<chapter version="5.0" xml:id="security-manager"
+ xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink">
+
<title>The Security Manager</title>
- <section id="security-manager-introduction">
+ <section xml:id="security-manager-introduction">
<title>Introduction</title>
<para>This chapter covers Ki's notion of a Security Manager.</para>