You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2012/10/07 15:32:05 UTC
svn commit: r1395298 [25/42] - in
/ofbiz/trunk/applications/content/template/docbook: ./ assembly/
assembly/schema/ common/ doc/ docsrc/ eclipse/ epub/ epub/bin/
epub/bin/lib/ epub/bin/xslt/ epub3/ extensions/ fo/ highlighting/ html/
htmlhelp/ images/ ...
Added: ofbiz/trunk/applications/content/template/docbook/javahelp/javahelp.xsl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/template/docbook/javahelp/javahelp.xsl?rev=1395298&view=auto
==============================================================================
--- ofbiz/trunk/applications/content/template/docbook/javahelp/javahelp.xsl (added)
+++ ofbiz/trunk/applications/content/template/docbook/javahelp/javahelp.xsl Sun Oct 7 13:31:52 2012
@@ -0,0 +1,621 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+ xmlns:ng="http://docbook.org/docbook-ng"
+ xmlns:db="http://docbook.org/ns/docbook"
+ xmlns:exsl="http://exslt.org/common"
+ version="1.0"
+ exclude-result-prefixes="doc ng db exsl">
+
+<xsl:import href="../html/chunk.xsl"/>
+
+<xsl:output method="html"/>
+
+<!-- ********************************************************************
+ $Id$
+ ********************************************************************
+
+ This file is part of the XSL DocBook Stylesheet distribution.
+ See ../README or http://docbook.sf.net/release/xsl/current/ for
+ copyright and other information.
+
+ ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="/">
+ <!-- * Get a title for current doc so that we let the user -->
+ <!-- * know what document we are processing at this point. -->
+ <xsl:variable name="doc.title">
+ <xsl:call-template name="get.doc.title"/>
+ </xsl:variable>
+ <xsl:choose>
+ <!-- Hack! If someone hands us a DocBook V5.x or DocBook NG document,
+ toss the namespace and continue. Use the docbook5 namespaced
+ stylesheets for DocBook5 if you don't want to use this feature.-->
+ <xsl:when test="$exsl.node.set.available != 0
+ and (*/self::ng:* or */self::db:*)">
+ <xsl:call-template name="log.message">
+ <xsl:with-param name="level">Note</xsl:with-param>
+ <xsl:with-param name="source" select="$doc.title"/>
+ <xsl:with-param name="context-desc">
+ <xsl:text>namesp. cut</xsl:text>
+ </xsl:with-param>
+ <xsl:with-param name="message">
+ <xsl:text>stripped namespace before processing</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ <xsl:variable name="nons">
+ <xsl:apply-templates mode="stripNS"/>
+ </xsl:variable>
+ <xsl:call-template name="log.message">
+ <xsl:with-param name="level">Note</xsl:with-param>
+ <xsl:with-param name="source" select="$doc.title"/>
+ <xsl:with-param name="context-desc">
+ <xsl:text>namesp. cut</xsl:text>
+ </xsl:with-param>
+ <xsl:with-param name="message">
+ <xsl:text>processing stripped document</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ <xsl:apply-templates select="exsl:node-set($nons)"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:choose>
+ <xsl:when test="$rootid != ''">
+ <xsl:choose>
+ <xsl:when test="count(key('id',$rootid)) = 0">
+ <xsl:message terminate="yes">
+ <xsl:text>ID '</xsl:text>
+ <xsl:value-of select="$rootid"/>
+ <xsl:text>' not found in document.</xsl:text>
+ </xsl:message>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:message>Formatting from <xsl:value-of select="$rootid"/></xsl:message>
+ <xsl:apply-templates select="key('id',$rootid)" mode="process.root"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="/" mode="process.root"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:for-each select="/"> <!-- This is just a hook for building profiling stylesheets -->
+ <xsl:call-template name="helpset"/>
+ <xsl:call-template name="helptoc"/>
+ <xsl:call-template name="helpmap"/>
+ <xsl:call-template name="helpidx"/>
+ </xsl:for-each>
+</xsl:otherwise>
+</xsl:choose>
+</xsl:template>
+
+<xsl:param name="suppress.navigation" select="1"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="helpset">
+ <xsl:call-template name="write.chunk.with.doctype">
+ <xsl:with-param name="filename" select="concat($chunk.base.dir,'jhelpset.hs')"/>
+ <xsl:with-param name="method" select="'xml'"/>
+ <xsl:with-param name="indent" select="'yes'"/>
+ <xsl:with-param name="doctype-public" select="'-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 1.0//EN'"/>
+ <xsl:with-param name="doctype-system" select="'http://java.sun.com/products/javahelp/helpset_1_0.dtd'"/>
+ <xsl:with-param name="content">
+ <xsl:call-template name="helpset.content"/>
+ </xsl:with-param>
+ <xsl:with-param name="quiet" select="$chunk.quietly"/>
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="helpset.content">
+ <xsl:variable name="title">
+ <xsl:apply-templates select="." mode="title.markup"/>
+ </xsl:variable>
+
+ <helpset version="1.0">
+ <title>
+ <xsl:value-of select="normalize-space($title)"/>
+ </title>
+
+ <!-- maps -->
+ <maps>
+ <homeID>top</homeID>
+ <mapref location="jhelpmap.jhm"/>
+ </maps>
+
+ <!-- views -->
+ <view>
+ <name>TOC</name>
+ <label>Table Of Contents</label>
+ <type>javax.help.TOCView</type>
+ <data>jhelptoc.xml</data>
+ </view>
+
+ <view>
+ <name>Index</name>
+ <label>Index</label>
+ <type>javax.help.IndexView</type>
+ <data>jhelpidx.xml</data>
+ </view>
+
+ <view>
+ <name>Search</name>
+ <label>Search</label>
+ <type>javax.help.SearchView</type>
+ <data engine="com.sun.java.help.search.DefaultSearchEngine">JavaHelpSearch</data>
+ </view>
+ </helpset>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="helptoc">
+ <xsl:call-template name="write.chunk.with.doctype">
+ <xsl:with-param name="filename" select="concat($chunk.base.dir,'jhelptoc.xml')"/>
+ <xsl:with-param name="method" select="'xml'"/>
+ <xsl:with-param name="indent" select="'yes'"/>
+ <xsl:with-param name="doctype-public" select="'-//Sun Microsystems Inc.//DTD JavaHelp TOC Version 1.0//EN'"/>
+ <xsl:with-param name="doctype-system" select="'http://java.sun.com/products/javahelp/toc_1_0.dtd'"/>
+ <xsl:with-param name="encoding" select="$javahelp.encoding"/>
+ <xsl:with-param name="content">
+ <xsl:call-template name="helptoc.content"/>
+ </xsl:with-param>
+ <xsl:with-param name="quiet" select="$chunk.quietly"/>
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="helptoc.content">
+ <toc version="1.0">
+ <xsl:choose>
+ <xsl:when test="$rootid != ''">
+ <xsl:apply-templates select="key('id',$rootid)" mode="jhtoc"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="." mode="jhtoc"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </toc>
+</xsl:template>
+
+<xsl:template match="set" mode="jhtoc">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id">
+ <xsl:with-param name="object" select="."/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:apply-templates select="." mode="title.markup"/>
+ </xsl:variable>
+
+ <tocitem target="{$id}">
+ <xsl:attribute name="text">
+ <xsl:value-of select="normalize-space($title)"/>
+ </xsl:attribute>
+ <xsl:apply-templates select="book" mode="jhtoc"/>
+ </tocitem>
+</xsl:template>
+
+<xsl:template match="book" mode="jhtoc">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:apply-templates select="." mode="title.markup"/>
+ </xsl:variable>
+
+ <tocitem target="{$id}">
+ <xsl:attribute name="text">
+ <xsl:value-of select="normalize-space($title)"/>
+ </xsl:attribute>
+ <xsl:apply-templates select="part|reference|preface|chapter|appendix|article|colophon|glossary|bibliography"
+ mode="jhtoc"/>
+ </tocitem>
+</xsl:template>
+
+<xsl:template match="part|reference|preface|chapter|appendix|article"
+ mode="jhtoc">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:apply-templates select="." mode="title.markup"/>
+ </xsl:variable>
+
+ <tocitem target="{$id}">
+ <xsl:attribute name="text">
+ <xsl:value-of select="normalize-space($title)"/>
+ </xsl:attribute>
+ <xsl:apply-templates
+ select="article|preface|chapter|appendix|refentry|section|sect1|glossary|bibliography"
+ mode="jhtoc"/>
+ </tocitem>
+</xsl:template>
+
+<xsl:template match="section" mode="jhtoc">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:apply-templates select="." mode="title.markup"/>
+ </xsl:variable>
+
+ <tocitem target="{$id}">
+ <xsl:attribute name="text">
+ <xsl:value-of select="normalize-space($title)"/>
+ </xsl:attribute>
+ <xsl:apply-templates select="section" mode="jhtoc"/>
+ </tocitem>
+</xsl:template>
+
+<xsl:template match="sect1" mode="jhtoc">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:apply-templates select="." mode="title.markup"/>
+ </xsl:variable>
+
+ <tocitem target="{$id}">
+ <xsl:attribute name="text">
+ <xsl:value-of select="normalize-space($title)"/>
+ </xsl:attribute>
+ <xsl:apply-templates select="sect2" mode="jhtoc"/>
+ </tocitem>
+</xsl:template>
+
+<xsl:template match="sect2" mode="jhtoc">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:apply-templates select="." mode="title.markup"/>
+ </xsl:variable>
+
+ <tocitem target="{$id}">
+ <xsl:attribute name="text">
+ <xsl:value-of select="normalize-space($title)"/>
+ </xsl:attribute>
+ <xsl:apply-templates select="sect3" mode="jhtoc"/>
+ </tocitem>
+</xsl:template>
+
+<xsl:template match="sect3" mode="jhtoc">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:apply-templates select="." mode="title.markup"/>
+ </xsl:variable>
+
+ <tocitem target="{$id}">
+ <xsl:attribute name="text">
+ <xsl:value-of select="normalize-space($title)"/>
+ </xsl:attribute>
+ <xsl:apply-templates select="sect4" mode="jhtoc"/>
+ </tocitem>
+</xsl:template>
+
+<xsl:template match="sect4" mode="jhtoc">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:apply-templates select="." mode="title.markup"/>
+ </xsl:variable>
+
+ <tocitem target="{$id}">
+ <xsl:attribute name="text">
+ <xsl:value-of select="normalize-space($title)"/>
+ </xsl:attribute>
+ <xsl:apply-templates select="sect5" mode="jhtoc"/>
+ </tocitem>
+</xsl:template>
+
+<xsl:template match="sect5|colophon|refentry" mode="jhtoc">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:apply-templates select="." mode="title.markup"/>
+ </xsl:variable>
+
+ <tocitem target="{$id}">
+ <xsl:attribute name="text">
+ <xsl:value-of select="normalize-space($title)"/>
+ </xsl:attribute>
+ </tocitem>
+</xsl:template>
+
+
+<xsl:template match="glossary" mode="jhtoc">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+
+ <xsl:variable name="title">
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'Glossary'"/>
+ </xsl:call-template>
+ </xsl:variable>
+
+ <tocitem target="{$id}">
+ <xsl:attribute name="text">
+ <xsl:value-of select="$title"/>
+ </xsl:attribute>
+ </tocitem>
+
+</xsl:template>
+
+<xsl:template match="bibliography" mode="jhtoc">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+
+ <xsl:variable name="title">
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'Bibliography'"/>
+ </xsl:call-template>
+ </xsl:variable>
+
+ <tocitem target="{$id}">
+ <xsl:attribute name="text">
+ <xsl:value-of select="$title"/>
+ </xsl:attribute>
+
+ </tocitem>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="helpmap">
+ <xsl:call-template name="write.chunk.with.doctype">
+ <xsl:with-param name="filename" select="concat($chunk.base.dir, 'jhelpmap.jhm')"/>
+ <xsl:with-param name="method" select="'xml'"/>
+ <xsl:with-param name="indent" select="'yes'"/>
+ <xsl:with-param name="doctype-public" select="'-//Sun Microsystems Inc.//DTD JavaHelp Map Version 1.0//EN'"/>
+ <xsl:with-param name="doctype-system" select="'http://java.sun.com/products/javahelp/map_1_0.dtd'"/>
+ <xsl:with-param name="encoding" select="$javahelp.encoding"/>
+ <xsl:with-param name="content">
+ <xsl:call-template name="helpmap.content"/>
+ </xsl:with-param>
+ <xsl:with-param name="quiet" select="$chunk.quietly"/>
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="helpmap.content">
+ <map version="1.0">
+ <xsl:choose>
+ <xsl:when test="$rootid != ''">
+ <xsl:apply-templates select="key('id',$rootid)//set
+ | key('id',$rootid)//book
+ | key('id',$rootid)//part
+ | key('id',$rootid)//reference
+ | key('id',$rootid)//preface
+ | key('id',$rootid)//chapter
+ | key('id',$rootid)//appendix
+ | key('id',$rootid)//article
+ | key('id',$rootid)//colophon
+ | key('id',$rootid)//refentry
+ | key('id',$rootid)//section
+ | key('id',$rootid)//sect1
+ | key('id',$rootid)//sect2
+ | key('id',$rootid)//sect3
+ | key('id',$rootid)//sect4
+ | key('id',$rootid)//sect5
+ | key('id',$rootid)//indexterm
+ | key('id',$rootid)//glossary
+ | key('id',$rootid)//bibliography
+ | key('id',$rootid)//*[@id]"
+ mode="map"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="//set
+ | //book
+ | //part
+ | //reference
+ | //preface
+ | //chapter
+ | //appendix
+ | //article
+ | //colophon
+ | //refentry
+ | //section
+ | //sect1
+ | //sect2
+ | //sect3
+ | //sect4
+ | //sect5
+ | //indexterm
+ | //glossary
+ | //bibliography
+ | //*[@id]"
+ mode="map"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </map>
+</xsl:template>
+
+<xsl:template match="set" mode="map">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id">
+ <xsl:with-param name="object" select="."/>
+ </xsl:call-template>
+ </xsl:variable>
+
+ <mapID target="{$id}">
+ <xsl:attribute name="url">
+ <xsl:call-template name="href.target.uri"/>
+ </xsl:attribute>
+ </mapID>
+</xsl:template>
+
+<xsl:template match="book" mode="map">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+
+ <mapID target="{$id}">
+ <xsl:attribute name="url">
+ <xsl:call-template name="href.target.uri"/>
+ </xsl:attribute>
+ </mapID>
+</xsl:template>
+
+<xsl:template match="part|reference|preface|chapter|appendix|refentry|article|glossary|bibliography"
+ mode="map">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+
+ <mapID target="{$id}">
+ <xsl:attribute name="url">
+ <xsl:call-template name="href.target.uri"/>
+ </xsl:attribute>
+ </mapID>
+</xsl:template>
+
+<xsl:template match="section|sect1|sect2|sect3|sect4|sect5|colophon" mode="map">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+
+ <mapID target="{$id}">
+ <xsl:attribute name="url">
+ <xsl:call-template name="href.target.uri"/>
+ </xsl:attribute>
+ </mapID>
+</xsl:template>
+
+<xsl:template match="indexterm[@class='endofrange']" mode="map"/>
+
+<xsl:template match="indexterm" mode="map">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+
+ <mapID target="{$id}">
+ <xsl:attribute name="url">
+ <xsl:call-template name="href.target.uri"/>
+ </xsl:attribute>
+ </mapID>
+</xsl:template>
+
+<xsl:template match="*[@id]" mode="map">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+
+ <mapID target="{$id}">
+ <xsl:attribute name="url">
+ <xsl:call-template name="href.target.uri"/>
+ </xsl:attribute>
+ </mapID>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="helpidx">
+ <xsl:call-template name="write.chunk.with.doctype">
+ <xsl:with-param name="filename" select="concat($chunk.base.dir, 'jhelpidx.xml')"/>
+ <xsl:with-param name="method" select="'xml'"/>
+ <xsl:with-param name="indent" select="'yes'"/>
+ <xsl:with-param name="doctype-public" select="'-//Sun Microsystems Inc.//DTD JavaHelp Index Version 1.0//EN'"/>
+ <xsl:with-param name="doctype-system" select="'http://java.sun.com/products/javahelp/index_1_0.dtd'"/>
+ <xsl:with-param name="encoding" select="$javahelp.encoding"/>
+ <xsl:with-param name="content">
+ <xsl:call-template name="helpidx.content"/>
+ </xsl:with-param>
+ <xsl:with-param name="quiet" select="$chunk.quietly"/>
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="helpidx.content">
+ <index version="1.0">
+ <xsl:choose>
+ <xsl:when test="$rootid != ''">
+ <xsl:apply-templates select="key('id',$rootid)//indexterm" mode="idx">
+ <xsl:sort select="primary"/>
+ <xsl:sort select="secondary"/>
+ <xsl:sort select="tertiary"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="//indexterm" mode="idx">
+ <xsl:sort select="primary"/>
+ <xsl:sort select="secondary"/>
+ <xsl:sort select="tertiary"/>
+ </xsl:apply-templates>
+ </xsl:otherwise>
+ </xsl:choose>
+ </index>
+</xsl:template>
+
+<xsl:template match="indexterm[@class='endofrange']" mode="idx"/>
+
+<xsl:template match="indexterm" mode="idx">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+
+ <xsl:variable name="text">
+ <xsl:value-of select="normalize-space(primary)"/>
+ <xsl:if test="secondary">
+ <xsl:text>, </xsl:text>
+ <xsl:value-of select="normalize-space(secondary)"/>
+ </xsl:if>
+ <xsl:if test="tertiary">
+ <xsl:text>, </xsl:text>
+ <xsl:value-of select="normalize-space(tertiary)"/>
+ </xsl:if>
+ </xsl:variable>
+
+ <xsl:choose>
+ <xsl:when test="see">
+ <xsl:variable name="see"><xsl:value-of select="normalize-space(see)"/></xsl:variable>
+ <indexitem text="{$text} see '{$see}'"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <indexitem text="{$text}" target="{$id}"/>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+<!-- Kludge for Xalan outputting ™ which fails in javahelp -->
+<xsl:template name="dingbat.characters">
+ <!-- now that I'm using the real serializer, all that dingbat malarky -->
+ <!-- isn't necessary anymore... -->
+ <xsl:param name="dingbat">bullet</xsl:param>
+
+ <xsl:choose>
+ <xsl:when test="$dingbat='bullet'">•</xsl:when>
+ <xsl:when test="$dingbat='copyright'">©</xsl:when>
+ <xsl:when test="$dingbat='trademark' or $dingbat='trade'">
+ <xsl:choose>
+ <xsl:when test="contains(system-property('xsl:vendor'),
+ 'Apache Software Foundation')">
+ <sup>TM</sup>
+ </xsl:when>
+ <xsl:otherwise>™</xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="$dingbat='registered'">®</xsl:when>
+ <xsl:when test="$dingbat='service'">(SM)</xsl:when>
+ <xsl:when test="$dingbat='nbsp'"> </xsl:when>
+ <xsl:when test="$dingbat='ldquo'">“</xsl:when>
+ <xsl:when test="$dingbat='rdquo'">”</xsl:when>
+ <xsl:when test="$dingbat='lsquo'">‘</xsl:when>
+ <xsl:when test="$dingbat='rsquo'">’</xsl:when>
+ <xsl:when test="$dingbat='em-dash'">—</xsl:when>
+ <xsl:when test="$dingbat='mdash'">—</xsl:when>
+ <xsl:when test="$dingbat='en-dash'">–</xsl:when>
+ <xsl:when test="$dingbat='ndash'">–</xsl:when>
+ <xsl:otherwise>
+ <xsl:text>•</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>
Propchange: ofbiz/trunk/applications/content/template/docbook/javahelp/javahelp.xsl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/applications/content/template/docbook/javahelp/javahelp.xsl
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/trunk/applications/content/template/docbook/javahelp/javahelp.xsl
------------------------------------------------------------------------------
svn:mime-type = text/xsl
Added: ofbiz/trunk/applications/content/template/docbook/javahelp/profile-javahelp.xsl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/template/docbook/javahelp/profile-javahelp.xsl?rev=1395298&view=auto
==============================================================================
--- ofbiz/trunk/applications/content/template/docbook/javahelp/profile-javahelp.xsl (added)
+++ ofbiz/trunk/applications/content/template/docbook/javahelp/profile-javahelp.xsl Sun Oct 7 13:31:52 2012
@@ -0,0 +1,545 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by xsl2profile-->
+<!--from the DocBook XSL stylesheets.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns:ng="http://docbook.org/docbook-ng" xmlns:db="http://docbook.org/ns/docbook" xmlns:exsl="http://exslt.org/common" xmlns:exslt="http://exslt.org/common" exslt:dummy="dummy" ng:dummy="dummy" db:dummy="dummy" extension-element-prefixes="exslt" version="1.0" exclude-result-prefixes="doc ng db exsl exslt">
+
+<xsl:import href="../html/chunk.xsl"/>
+
+<xsl:output method="html"/>
+
+<!-- ********************************************************************
+ $Id$
+ ********************************************************************
+
+ This file is part of the XSL DocBook Stylesheet distribution.
+ See ../README or http://docbook.sf.net/release/xsl/current/ for
+ copyright and other information.
+
+ ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xslo:include xmlns:xslo="http://www.w3.org/1999/XSL/Transform" href="../profiling/profile-mode.xsl"/><xslo:variable xmlns:xslo="http://www.w3.org/1999/XSL/Transform" name="profiled-content"><xslo:choose><xslo:when test="*/self::ng:* or */self::db:*"><xslo:message>Note: namesp. cut : stripped namespace before processing</xslo:message><xslo:variable name="stripped-content"><xslo:apply-templates select="/" mode="stripNS"/></xslo:variable><xslo:message>Note: namesp. cut : processing stripped document</xslo:message><xslo:apply-templates select="exslt:node-set($stripped-content)" mode="profile"/></xslo:when><xslo:otherwise><xslo:apply-templates select="/" mode="profile"/></xslo:otherwise></xslo:choose></xslo:variable><xslo:variable xmlns:xslo="http://www.w3.org/1999/XSL/Transform" name="profiled-nodes" select="exslt:node-set($profiled-content)"/><xsl:template match="/">
+ <!-- * Get a title for current doc so that we let the user -->
+ <!-- * know what document we are processing at this point. -->
+ <xsl:variable name="doc.title">
+ <xsl:call-template name="get.doc.title"/>
+ </xsl:variable>
+ <xsl:choose>
+ <!-- Hack! If someone hands us a DocBook V5.x or DocBook NG document,
+ toss the namespace and continue. Use the docbook5 namespaced
+ stylesheets for DocBook5 if you don't want to use this feature.-->
+ <xsl:when test="false()"/>
+ <xsl:otherwise>
+ <xsl:choose>
+ <xsl:when test="$rootid != ''">
+ <xsl:choose>
+ <xsl:when test="count($profiled-nodes//*[@id=$rootid]) = 0">
+ <xsl:message terminate="yes">
+ <xsl:text>ID '</xsl:text>
+ <xsl:value-of select="$rootid"/>
+ <xsl:text>' not found in document.</xsl:text>
+ </xsl:message>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:message>Formatting from <xsl:value-of select="$rootid"/></xsl:message>
+ <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="process.root"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="$profiled-nodes" mode="process.root"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:for-each select="$profiled-nodes"> <!-- This is just a hook for building profiling stylesheets -->
+ <xsl:call-template name="helpset"/>
+ <xsl:call-template name="helptoc"/>
+ <xsl:call-template name="helpmap"/>
+ <xsl:call-template name="helpidx"/>
+ </xsl:for-each>
+</xsl:otherwise>
+</xsl:choose>
+</xsl:template>
+
+<xsl:param name="suppress.navigation" select="1"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="helpset">
+ <xsl:call-template name="write.chunk.with.doctype">
+ <xsl:with-param name="filename" select="concat($chunk.base.dir,'jhelpset.hs')"/>
+ <xsl:with-param name="method" select="'xml'"/>
+ <xsl:with-param name="indent" select="'yes'"/>
+ <xsl:with-param name="doctype-public" select="'-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 1.0//EN'"/>
+ <xsl:with-param name="doctype-system" select="'http://java.sun.com/products/javahelp/helpset_1_0.dtd'"/>
+ <xsl:with-param name="content">
+ <xsl:call-template name="helpset.content"/>
+ </xsl:with-param>
+ <xsl:with-param name="quiet" select="$chunk.quietly"/>
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="helpset.content">
+ <xsl:variable name="title">
+ <xsl:apply-templates select="." mode="title.markup"/>
+ </xsl:variable>
+
+ <helpset version="1.0">
+ <title>
+ <xsl:value-of select="normalize-space($title)"/>
+ </title>
+
+ <!-- maps -->
+ <maps>
+ <homeID>top</homeID>
+ <mapref location="jhelpmap.jhm"/>
+ </maps>
+
+ <!-- views -->
+ <view>
+ <name>TOC</name>
+ <label>Table Of Contents</label>
+ <type>javax.help.TOCView</type>
+ <data>jhelptoc.xml</data>
+ </view>
+
+ <view>
+ <name>Index</name>
+ <label>Index</label>
+ <type>javax.help.IndexView</type>
+ <data>jhelpidx.xml</data>
+ </view>
+
+ <view>
+ <name>Search</name>
+ <label>Search</label>
+ <type>javax.help.SearchView</type>
+ <data engine="com.sun.java.help.search.DefaultSearchEngine">JavaHelpSearch</data>
+ </view>
+ </helpset>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="helptoc">
+ <xsl:call-template name="write.chunk.with.doctype">
+ <xsl:with-param name="filename" select="concat($chunk.base.dir,'jhelptoc.xml')"/>
+ <xsl:with-param name="method" select="'xml'"/>
+ <xsl:with-param name="indent" select="'yes'"/>
+ <xsl:with-param name="doctype-public" select="'-//Sun Microsystems Inc.//DTD JavaHelp TOC Version 1.0//EN'"/>
+ <xsl:with-param name="doctype-system" select="'http://java.sun.com/products/javahelp/toc_1_0.dtd'"/>
+ <xsl:with-param name="encoding" select="$javahelp.encoding"/>
+ <xsl:with-param name="content">
+ <xsl:call-template name="helptoc.content"/>
+ </xsl:with-param>
+ <xsl:with-param name="quiet" select="$chunk.quietly"/>
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="helptoc.content">
+ <toc version="1.0">
+ <xsl:choose>
+ <xsl:when test="$rootid != ''">
+ <xsl:apply-templates select="key('id',$rootid)" mode="jhtoc"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="." mode="jhtoc"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </toc>
+</xsl:template>
+
+<xsl:template match="set" mode="jhtoc">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id">
+ <xsl:with-param name="object" select="."/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:apply-templates select="." mode="title.markup"/>
+ </xsl:variable>
+
+ <tocitem target="{$id}">
+ <xsl:attribute name="text">
+ <xsl:value-of select="normalize-space($title)"/>
+ </xsl:attribute>
+ <xsl:apply-templates select="book" mode="jhtoc"/>
+ </tocitem>
+</xsl:template>
+
+<xsl:template match="book" mode="jhtoc">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:apply-templates select="." mode="title.markup"/>
+ </xsl:variable>
+
+ <tocitem target="{$id}">
+ <xsl:attribute name="text">
+ <xsl:value-of select="normalize-space($title)"/>
+ </xsl:attribute>
+ <xsl:apply-templates select="part|reference|preface|chapter|appendix|article|colophon|glossary|bibliography" mode="jhtoc"/>
+ </tocitem>
+</xsl:template>
+
+<xsl:template match="part|reference|preface|chapter|appendix|article" mode="jhtoc">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:apply-templates select="." mode="title.markup"/>
+ </xsl:variable>
+
+ <tocitem target="{$id}">
+ <xsl:attribute name="text">
+ <xsl:value-of select="normalize-space($title)"/>
+ </xsl:attribute>
+ <xsl:apply-templates select="article|preface|chapter|appendix|refentry|section|sect1|glossary|bibliography" mode="jhtoc"/>
+ </tocitem>
+</xsl:template>
+
+<xsl:template match="section" mode="jhtoc">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:apply-templates select="." mode="title.markup"/>
+ </xsl:variable>
+
+ <tocitem target="{$id}">
+ <xsl:attribute name="text">
+ <xsl:value-of select="normalize-space($title)"/>
+ </xsl:attribute>
+ <xsl:apply-templates select="section" mode="jhtoc"/>
+ </tocitem>
+</xsl:template>
+
+<xsl:template match="sect1" mode="jhtoc">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:apply-templates select="." mode="title.markup"/>
+ </xsl:variable>
+
+ <tocitem target="{$id}">
+ <xsl:attribute name="text">
+ <xsl:value-of select="normalize-space($title)"/>
+ </xsl:attribute>
+ <xsl:apply-templates select="sect2" mode="jhtoc"/>
+ </tocitem>
+</xsl:template>
+
+<xsl:template match="sect2" mode="jhtoc">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:apply-templates select="." mode="title.markup"/>
+ </xsl:variable>
+
+ <tocitem target="{$id}">
+ <xsl:attribute name="text">
+ <xsl:value-of select="normalize-space($title)"/>
+ </xsl:attribute>
+ <xsl:apply-templates select="sect3" mode="jhtoc"/>
+ </tocitem>
+</xsl:template>
+
+<xsl:template match="sect3" mode="jhtoc">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:apply-templates select="." mode="title.markup"/>
+ </xsl:variable>
+
+ <tocitem target="{$id}">
+ <xsl:attribute name="text">
+ <xsl:value-of select="normalize-space($title)"/>
+ </xsl:attribute>
+ <xsl:apply-templates select="sect4" mode="jhtoc"/>
+ </tocitem>
+</xsl:template>
+
+<xsl:template match="sect4" mode="jhtoc">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:apply-templates select="." mode="title.markup"/>
+ </xsl:variable>
+
+ <tocitem target="{$id}">
+ <xsl:attribute name="text">
+ <xsl:value-of select="normalize-space($title)"/>
+ </xsl:attribute>
+ <xsl:apply-templates select="sect5" mode="jhtoc"/>
+ </tocitem>
+</xsl:template>
+
+<xsl:template match="sect5|colophon|refentry" mode="jhtoc">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+ <xsl:variable name="title">
+ <xsl:apply-templates select="." mode="title.markup"/>
+ </xsl:variable>
+
+ <tocitem target="{$id}">
+ <xsl:attribute name="text">
+ <xsl:value-of select="normalize-space($title)"/>
+ </xsl:attribute>
+ </tocitem>
+</xsl:template>
+
+
+<xsl:template match="glossary" mode="jhtoc">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+
+ <xsl:variable name="title">
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'Glossary'"/>
+ </xsl:call-template>
+ </xsl:variable>
+
+ <tocitem target="{$id}">
+ <xsl:attribute name="text">
+ <xsl:value-of select="$title"/>
+ </xsl:attribute>
+ </tocitem>
+
+</xsl:template>
+
+<xsl:template match="bibliography" mode="jhtoc">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+
+ <xsl:variable name="title">
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'Bibliography'"/>
+ </xsl:call-template>
+ </xsl:variable>
+
+ <tocitem target="{$id}">
+ <xsl:attribute name="text">
+ <xsl:value-of select="$title"/>
+ </xsl:attribute>
+
+ </tocitem>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="helpmap">
+ <xsl:call-template name="write.chunk.with.doctype">
+ <xsl:with-param name="filename" select="concat($chunk.base.dir, 'jhelpmap.jhm')"/>
+ <xsl:with-param name="method" select="'xml'"/>
+ <xsl:with-param name="indent" select="'yes'"/>
+ <xsl:with-param name="doctype-public" select="'-//Sun Microsystems Inc.//DTD JavaHelp Map Version 1.0//EN'"/>
+ <xsl:with-param name="doctype-system" select="'http://java.sun.com/products/javahelp/map_1_0.dtd'"/>
+ <xsl:with-param name="encoding" select="$javahelp.encoding"/>
+ <xsl:with-param name="content">
+ <xsl:call-template name="helpmap.content"/>
+ </xsl:with-param>
+ <xsl:with-param name="quiet" select="$chunk.quietly"/>
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="helpmap.content">
+ <map version="1.0">
+ <xsl:choose>
+ <xsl:when test="$rootid != ''">
+ <xsl:apply-templates select="key('id',$rootid)//set | key('id',$rootid)//book | key('id',$rootid)//part | key('id',$rootid)//reference | key('id',$rootid)//preface | key('id',$rootid)//chapter | key('id',$rootid)//appendix | key('id',$rootid)//article | key('id',$rootid)//colophon | key('id',$rootid)//refentry | key('id',$rootid)//section | key('id',$rootid)//sect1 | key('id',$rootid)//sect2 | key('id',$rootid)//sect3 | key('id',$rootid)//sect4
| key('id',$rootid)//sect5 | key('id',$rootid)//indexterm | key('id',$rootid)//glossary | key('id',$rootid)//bibliography | key('id',$rootid)//*[@id]" mode="map"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="//set | //book | //part | //reference | //preface | //chapter | //appendix | //article | //colophon | //refentry | //section | //sect1 | //sect2 | //sect3 | //sect4 | //sect5 | //indexterm | //glossary | //bibliography | //*[@id]" mode="map"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </map>
+</xsl:template>
+
+<xsl:template match="set" mode="map">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id">
+ <xsl:with-param name="object" select="."/>
+ </xsl:call-template>
+ </xsl:variable>
+
+ <mapID target="{$id}">
+ <xsl:attribute name="url">
+ <xsl:call-template name="href.target.uri"/>
+ </xsl:attribute>
+ </mapID>
+</xsl:template>
+
+<xsl:template match="book" mode="map">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+
+ <mapID target="{$id}">
+ <xsl:attribute name="url">
+ <xsl:call-template name="href.target.uri"/>
+ </xsl:attribute>
+ </mapID>
+</xsl:template>
+
+<xsl:template match="part|reference|preface|chapter|appendix|refentry|article|glossary|bibliography" mode="map">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+
+ <mapID target="{$id}">
+ <xsl:attribute name="url">
+ <xsl:call-template name="href.target.uri"/>
+ </xsl:attribute>
+ </mapID>
+</xsl:template>
+
+<xsl:template match="section|sect1|sect2|sect3|sect4|sect5|colophon" mode="map">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+
+ <mapID target="{$id}">
+ <xsl:attribute name="url">
+ <xsl:call-template name="href.target.uri"/>
+ </xsl:attribute>
+ </mapID>
+</xsl:template>
+
+<xsl:template match="indexterm[@class='endofrange']" mode="map"/>
+
+<xsl:template match="indexterm" mode="map">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+
+ <mapID target="{$id}">
+ <xsl:attribute name="url">
+ <xsl:call-template name="href.target.uri"/>
+ </xsl:attribute>
+ </mapID>
+</xsl:template>
+
+<xsl:template match="*[@id]" mode="map">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+
+ <mapID target="{$id}">
+ <xsl:attribute name="url">
+ <xsl:call-template name="href.target.uri"/>
+ </xsl:attribute>
+ </mapID>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="helpidx">
+ <xsl:call-template name="write.chunk.with.doctype">
+ <xsl:with-param name="filename" select="concat($chunk.base.dir, 'jhelpidx.xml')"/>
+ <xsl:with-param name="method" select="'xml'"/>
+ <xsl:with-param name="indent" select="'yes'"/>
+ <xsl:with-param name="doctype-public" select="'-//Sun Microsystems Inc.//DTD JavaHelp Index Version 1.0//EN'"/>
+ <xsl:with-param name="doctype-system" select="'http://java.sun.com/products/javahelp/index_1_0.dtd'"/>
+ <xsl:with-param name="encoding" select="$javahelp.encoding"/>
+ <xsl:with-param name="content">
+ <xsl:call-template name="helpidx.content"/>
+ </xsl:with-param>
+ <xsl:with-param name="quiet" select="$chunk.quietly"/>
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="helpidx.content">
+ <index version="1.0">
+ <xsl:choose>
+ <xsl:when test="$rootid != ''">
+ <xsl:apply-templates select="key('id',$rootid)//indexterm" mode="idx">
+ <xsl:sort select="primary"/>
+ <xsl:sort select="secondary"/>
+ <xsl:sort select="tertiary"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="//indexterm" mode="idx">
+ <xsl:sort select="primary"/>
+ <xsl:sort select="secondary"/>
+ <xsl:sort select="tertiary"/>
+ </xsl:apply-templates>
+ </xsl:otherwise>
+ </xsl:choose>
+ </index>
+</xsl:template>
+
+<xsl:template match="indexterm[@class='endofrange']" mode="idx"/>
+
+<xsl:template match="indexterm" mode="idx">
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+
+ <xsl:variable name="text">
+ <xsl:value-of select="normalize-space(primary)"/>
+ <xsl:if test="secondary">
+ <xsl:text>, </xsl:text>
+ <xsl:value-of select="normalize-space(secondary)"/>
+ </xsl:if>
+ <xsl:if test="tertiary">
+ <xsl:text>, </xsl:text>
+ <xsl:value-of select="normalize-space(tertiary)"/>
+ </xsl:if>
+ </xsl:variable>
+
+ <xsl:choose>
+ <xsl:when test="see">
+ <xsl:variable name="see"><xsl:value-of select="normalize-space(see)"/></xsl:variable>
+ <indexitem text="{$text} see '{$see}'"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <indexitem text="{$text}" target="{$id}"/>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+<!-- Kludge for Xalan outputting ™ which fails in javahelp -->
+<xsl:template name="dingbat.characters">
+ <!-- now that I'm using the real serializer, all that dingbat malarky -->
+ <!-- isn't necessary anymore... -->
+ <xsl:param name="dingbat">bullet</xsl:param>
+
+ <xsl:choose>
+ <xsl:when test="$dingbat='bullet'">•</xsl:when>
+ <xsl:when test="$dingbat='copyright'">©</xsl:when>
+ <xsl:when test="$dingbat='trademark' or $dingbat='trade'">
+ <xsl:choose>
+ <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+ <sup>TM</sup>
+ </xsl:when>
+ <xsl:otherwise>™</xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="$dingbat='registered'">®</xsl:when>
+ <xsl:when test="$dingbat='service'">(SM)</xsl:when>
+ <xsl:when test="$dingbat='nbsp'"> </xsl:when>
+ <xsl:when test="$dingbat='ldquo'">“</xsl:when>
+ <xsl:when test="$dingbat='rdquo'">”</xsl:when>
+ <xsl:when test="$dingbat='lsquo'">‘</xsl:when>
+ <xsl:when test="$dingbat='rsquo'">’</xsl:when>
+ <xsl:when test="$dingbat='em-dash'">—</xsl:when>
+ <xsl:when test="$dingbat='mdash'">—</xsl:when>
+ <xsl:when test="$dingbat='en-dash'">–</xsl:when>
+ <xsl:when test="$dingbat='ndash'">–</xsl:when>
+ <xsl:otherwise>
+ <xsl:text>•</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>
Propchange: ofbiz/trunk/applications/content/template/docbook/javahelp/profile-javahelp.xsl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/applications/content/template/docbook/javahelp/profile-javahelp.xsl
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/trunk/applications/content/template/docbook/javahelp/profile-javahelp.xsl
------------------------------------------------------------------------------
svn:mime-type = text/xsl
Added: ofbiz/trunk/applications/content/template/docbook/log
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/template/docbook/log?rev=1395298&view=auto
==============================================================================
--- ofbiz/trunk/applications/content/template/docbook/log (added)
+++ ofbiz/trunk/applications/content/template/docbook/log Sun Oct 7 13:31:52 2012
@@ -0,0 +1,646 @@
+------------------------------------------------------------------------
+r9371 | bobstayton | 2012-05-19 22:48:13 +0000 (Sat, 19 May 2012) | 2 lines
+
+Version 1.77.0 release
+
+------------------------------------------------------------------------
+r8935 | abdelazer | 2010-11-01 21:04:48 +0000 (Mon, 01 Nov 2010) | 1 line
+
+Restored VERSION file to snapshot state
+------------------------------------------------------------------------
+r8933 | abdelazer | 2010-11-01 19:58:53 +0000 (Mon, 01 Nov 2010) | 1 line
+
+Version 1.76.1 released
+------------------------------------------------------------------------
+r8902 | abdelazer | 2010-09-03 23:34:06 +0000 (Fri, 03 Sep 2010) | 1 line
+
+Restored VERSION file to snapshot state
+------------------------------------------------------------------------
+r8893 | abdelazer | 2010-08-28 04:32:12 +0000 (Sat, 28 Aug 2010) | 1 line
+
+Version 1.76.0 released
+------------------------------------------------------------------------
+r8502 | abdelazer | 2009-07-21 03:01:50 +0000 (Tue, 21 Jul 2009) | 1 line
+
+Restored VERSION file to snapshot state
+------------------------------------------------------------------------
+r8499 | abdelazer | 2009-07-21 01:58:25 +0000 (Tue, 21 Jul 2009) | 1 line
+
+Version 1.75.2 released
+------------------------------------------------------------------------
+r8447 | abdelazer | 2009-05-28 01:18:40 +0000 (Thu, 28 May 2009) | 1 line
+
+Restored VERSION file to snapshot state
+------------------------------------------------------------------------
+r8444 | abdelazer | 2009-05-28 00:17:40 +0000 (Thu, 28 May 2009) | 1 line
+
+I think you have to edit more than README.BUILD says...
+------------------------------------------------------------------------
+r8443 | abdelazer | 2009-05-28 00:14:27 +0000 (Thu, 28 May 2009) | 1 line
+
+Version 1.75.1 released
+------------------------------------------------------------------------
+r8431 | abdelazer | 2009-05-07 12:50:29 +0000 (Thu, 07 May 2009) | 1 line
+
+Restored VERSION file to _next_ snapshot state
+------------------------------------------------------------------------
+r8430 | abdelazer | 2009-05-07 03:58:45 +0000 (Thu, 07 May 2009) | 1 line
+
+Restored VERSION file to snapshot state
+------------------------------------------------------------------------
+r8426 | abdelazer | 2009-05-07 01:30:29 +0000 (Thu, 07 May 2009) | 1 line
+
+fix previous release
+------------------------------------------------------------------------
+r8425 | abdelazer | 2009-05-07 01:29:39 +0000 (Thu, 07 May 2009) | 1 line
+
+Version 1.75.0 released
+------------------------------------------------------------------------
+r8273 | abdelazer | 2009-02-25 01:07:35 +0000 (Wed, 25 Feb 2009) | 1 line
+
+Restored VERSION file to snapshot state
+------------------------------------------------------------------------
+r8270 | abdelazer | 2009-02-24 22:18:36 +0000 (Tue, 24 Feb 2009) | 1 line
+
+Version 1.74.3 released
+------------------------------------------------------------------------
+r8263 | abdelazer | 2009-02-20 13:25:04 +0000 (Fri, 20 Feb 2009) | 1 line
+
+No, we are going to 1.74.3
+------------------------------------------------------------------------
+r8262 | abdelazer | 2009-02-20 06:03:05 +0000 (Fri, 20 Feb 2009) | 1 line
+
+Restored VERSION file to snapshot state
+------------------------------------------------------------------------
+r8260 | abdelazer | 2009-02-20 05:14:06 +0000 (Fri, 20 Feb 2009) | 1 line
+
+Version 1.74.2 released
+------------------------------------------------------------------------
+r8250 | abdelazer | 2009-02-17 15:00:48 +0000 (Tue, 17 Feb 2009) | 1 line
+
+Version 1.74.1 released
+------------------------------------------------------------------------
+r8051 | xmldoc | 2008-06-14 04:54:05 +0000 (Sat, 14 Jun 2008) | 2 lines
+
+set some ignores
+
+------------------------------------------------------------------------
+r8037 | abdelazer | 2008-06-02 15:16:47 +0000 (Mon, 02 Jun 2008) | 1 line
+
+Restored VERSION file to snapshot state
+------------------------------------------------------------------------
+r8033 | abdelazer | 2008-06-01 21:07:37 +0000 (Sun, 01 Jun 2008) | 1 line
+
+Version 1.74.0 released
+------------------------------------------------------------------------
+r7940 | xmldoc | 2008-03-23 04:37:37 +0000 (Sun, 23 Mar 2008) | 5 lines
+
+use XSLT method to determine version number from VERSION file
+(instead of grep hack); also, use w3m as the default browser for
+generating plain-text output from HTML (with GC_NPROCS=1 to
+prevent it from hanging under OSX/Darwin)
+
+------------------------------------------------------------------------
+r7636 | xmldoc | 2008-01-09 11:16:59 +0000 (Wed, 09 Jan 2008) | 3 lines
+
+Don't build reference.pdf file except for official releases
+(because it takes too damn long to build...)
+
+------------------------------------------------------------------------
+r7566 | xmldoc | 2007-11-24 15:57:13 +0000 (Sat, 24 Nov 2007) | 9 lines
+
+Remove xsl:output and omit-xml-declaration element, because it
+seems to be causing problems with xsltproc. Closes bug #1785732.
+Thanks to Denis Gillain for reporting.
+I remember that the reason I added this originally was to work
+around some other but in xsltproc (I think it was that it was
+emitting an xml declaration even when output method is set to
+text, or something) so this change is going to probably going to
+cause a regression of that, but oh well
+
+------------------------------------------------------------------------
+r7400 | xmldoc | 2007-08-30 22:57:37 +0000 (Thu, 30 Aug 2007) | 3 lines
+
+Post 1.73.2 wrap-up; restored VERSION and RELEASE-NOTES.xml files
+to snapshot state.
+
+------------------------------------------------------------------------
+r7388 | xmldoc | 2007-08-30 10:27:34 +0000 (Thu, 30 Aug 2007) | 2 lines
+
+Version 1.73.2 released
+
+------------------------------------------------------------------------
+r7374 | xmldoc | 2007-08-29 14:11:41 +0000 (Wed, 29 Aug 2007) | 3 lines
+
+Re-revert to snapshot state so that we can get one last snapshot
+out before the 1.73.2 release.
+
+------------------------------------------------------------------------
+r7294 | xmldoc | 2007-08-28 09:13:34 +0000 (Tue, 28 Aug 2007) | 2 lines
+
+Added hook to return title of distribution.
+
+------------------------------------------------------------------------
+r7260 | xmldoc | 2007-08-20 00:35:42 +0000 (Mon, 20 Aug 2007) | 1 line
+
+Restored VERSION and RELEASE-NOTES.xml files to snapshot state
+------------------------------------------------------------------------
+r7256 | xmldoc | 2007-08-19 13:35:20 +0000 (Sun, 19 Aug 2007) | 1 line
+
+Version 1.73.1 released
+------------------------------------------------------------------------
+r7224 | xmldoc | 2007-08-09 10:35:12 +0000 (Thu, 09 Aug 2007) | 4 lines
+
+Use "-pre" instead of "+pre" because version number ends up in ID
+values and causes errors because it's not an NCName (getting
+really tired of that arbitrary and unnecessary restriction...)
+
+------------------------------------------------------------------------
+r7210 | xmldoc | 2007-08-09 07:48:28 +0000 (Thu, 09 Aug 2007) | 2 lines
+
+Restored the VERSION file to current snapshot state.
+
+------------------------------------------------------------------------
+r7204 | xmldoc | 2007-08-09 07:42:33 +0000 (Thu, 09 Aug 2007) | 2 lines
+
+temporarily reverting for tagging purposes
+
+------------------------------------------------------------------------
+r7176 | xmldoc | 2007-08-06 10:07:03 +0000 (Mon, 06 Aug 2007) | 1 line
+
+Restored VERSION and RELEASE-NOTES.xml files to snapshot state
+------------------------------------------------------------------------
+r7159 | xmldoc | 2007-07-27 07:00:22 +0000 (Fri, 27 Jul 2007) | 7 lines
+
+- Added the "tag" make target (unfinished) for tagging releases.
+- Renamed get-element.xsl to eval-xpath.xsl and modified it to be
+ capable of getting string value of a node based on an XPath
+ expression provided on the command line.
+- Removed get-param.xsl as changes to the xsl/VERSION file make
+ get-params.xsl obsolete.
+
+------------------------------------------------------------------------
+r7117 | xmldoc | 2007-07-22 14:34:57 +0000 (Sun, 22 Jul 2007) | 2 lines
+
+Version 1.73.0 released
+
+------------------------------------------------------------------------
+r7116 | xmldoc | 2007-07-22 14:33:49 +0000 (Sun, 22 Jul 2007) | 2 lines
+
+Version 1.73.0 released
+
+------------------------------------------------------------------------
+r7115 | xmldoc | 2007-07-22 14:17:36 +0000 (Sun, 22 Jul 2007) | 2 lines
+
+Version 1.73.0 released
+
+------------------------------------------------------------------------
+r7114 | xmldoc | 2007-07-22 14:03:43 +0000 (Sun, 22 Jul 2007) | 2 lines
+
+Version 1.73.0 released
+
+------------------------------------------------------------------------
+r6901 | xmldoc | 2007-06-28 16:56:37 +0000 (Thu, 28 Jun 2007) | 2 lines
+
+Updated freshmeat "CVS" URL
+
+------------------------------------------------------------------------
+r6896 | xmldoc | 2007-06-28 04:04:50 +0000 (Thu, 28 Jun 2007) | 2 lines
+
+Added VersionFileURL element (=URL RCS keyword).
+
+------------------------------------------------------------------------
+r6556 | xmldoc | 2007-01-25 10:25:23 +0000 (Thu, 25 Jan 2007) | 3 lines
+
+Moved all release metadata to VERSION file, and updated release
+build to rely on it.
+
+------------------------------------------------------------------------
+r6554 | xmldoc | 2007-01-24 13:07:21 +0000 (Wed, 24 Jan 2007) | 2 lines
+
+Moved docbook-xsl to 1.72.1+pre snapshot state.
+
+------------------------------------------------------------------------
+r6549 | xmldoc | 2007-01-23 12:29:58 +0000 (Tue, 23 Jan 2007) | 2 lines
+
+Changed fm:Release-Focus to "Major feature enhancements"
+
+------------------------------------------------------------------------
+r6545 | xmldoc | 2007-01-22 19:41:45 +0000 (Mon, 22 Jan 2007) | 2 lines
+
+Checkpointing release-note edits for review.
+
+------------------------------------------------------------------------
+r6536 | xmldoc | 2007-01-21 08:37:12 +0000 (Sun, 21 Jan 2007) | 5 lines
+
+Changed VERSION file to include distro title (DocBook XSL
+Stylesheets), and updated HTML, FO, and manpages stylesheets to
+use that in their metadata sections (e.g., in HTML, the
+<meta name="generator" ...> contents).
+
+------------------------------------------------------------------------
+r6371 | xmldoc | 2006-10-19 09:47:42 +0000 (Thu, 19 Oct 2006) | 2 lines
+
+Version 1.71.1 released
+
+------------------------------------------------------------------------
+r6275 | xmldoc | 2006-09-09 14:49:26 +0000 (Sat, 09 Sep 2006) | 2 lines
+
+Version 1.71.0 released
+
+------------------------------------------------------------------------
+r6002 | xmldoc | 2006-05-26 06:44:29 +0000 (Fri, 26 May 2006) | 2 lines
+
+Version 1.70.1 released
+
+------------------------------------------------------------------------
+r5984 | xmldoc | 2006-05-17 08:24:54 +0000 (Wed, 17 May 2006) | 2 lines
+
+Version 1.70.0 released
+
+------------------------------------------------------------------------
+r5151 | xmldoc | 2005-08-11 23:31:07 +0000 (Thu, 11 Aug 2005) | 2 lines
+
+Version 1.69.1 released.
+
+------------------------------------------------------------------------
+r5150 | xmldoc | 2005-08-11 23:29:01 +0000 (Thu, 11 Aug 2005) | 2 lines
+
+Version 1.69.1 released.
+
+------------------------------------------------------------------------
+r5109 | xmldoc | 2005-07-18 01:44:15 +0000 (Mon, 18 Jul 2005) | 2 lines
+
+Version 1.69.0 released.
+
+------------------------------------------------------------------------
+r4317 | xmldoc | 2005-02-14 07:21:03 +0000 (Mon, 14 Feb 2005) | 2 lines
+
+Version 1.68.1 released.
+
+------------------------------------------------------------------------
+r4306 | xmldoc | 2005-02-09 12:34:51 +0000 (Wed, 09 Feb 2005) | 2 lines
+
+Version 1.68.0 released
+
+------------------------------------------------------------------------
+r4067 | xmldoc | 2004-12-02 08:40:32 +0000 (Thu, 02 Dec 2004) | 2 lines
+
+Version 1.67.2 released.
+
+------------------------------------------------------------------------
+r4063 | xmldoc | 2004-12-02 03:49:19 +0000 (Thu, 02 Dec 2004) | 2 lines
+
+Version 1.67.1 released.
+
+------------------------------------------------------------------------
+r3986 | xmldoc | 2004-11-09 20:10:06 +0000 (Tue, 09 Nov 2004) | 2 lines
+
+Version 1.67.0 released.
+
+------------------------------------------------------------------------
+r3880 | nwalsh | 2004-10-17 21:30:29 +0000 (Sun, 17 Oct 2004) | 2 lines
+
+Capitalization tweaks necessary for the latest freshmeat script
+
+------------------------------------------------------------------------
+r3840 | xmldoc | 2004-09-20 03:25:43 +0000 (Mon, 20 Sep 2004) | 2 lines
+
+Version 1.66.1 released.
+
+------------------------------------------------------------------------
+r3837 | bobstayton | 2004-09-19 05:58:48 +0000 (Sun, 19 Sep 2004) | 2 lines
+
+Move to 1.66.1.
+
+------------------------------------------------------------------------
+r3808 | bobstayton | 2004-09-11 08:20:24 +0000 (Sat, 11 Sep 2004) | 2 lines
+
+Updated version to 1.66.0
+
+------------------------------------------------------------------------
+r3498 | nwalsh | 2004-03-09 10:15:17 +0000 (Tue, 09 Mar 2004) | 2 lines
+
+Version 1.65.1 released
+
+------------------------------------------------------------------------
+r3481 | nwalsh | 2004-02-27 20:43:23 +0000 (Fri, 27 Feb 2004) | 2 lines
+
+No really, version 1.65.0 released.
+
+------------------------------------------------------------------------
+r3480 | nwalsh | 2004-02-27 20:41:23 +0000 (Fri, 27 Feb 2004) | 2 lines
+
+Version 1.65.0 released.
+
+------------------------------------------------------------------------
+r3383 | nwalsh | 2004-01-08 13:14:18 +0000 (Thu, 08 Jan 2004) | 2 lines
+
+Tweaks for freshmeat-submit
+
+------------------------------------------------------------------------
+r3252 | nwalsh | 2003-12-17 14:57:33 +0000 (Wed, 17 Dec 2003) | 2 lines
+
+Prepare to support freshmeat-submit for next release
+
+------------------------------------------------------------------------
+r3246 | nwalsh | 2003-12-15 21:28:52 +0000 (Mon, 15 Dec 2003) | 2 lines
+
+Version 1.64.0 released.
+
+------------------------------------------------------------------------
+r3242 | nwalsh | 2003-12-15 20:57:03 +0000 (Mon, 15 Dec 2003) | 2 lines
+
+Version 1.63.0 released.
+
+------------------------------------------------------------------------
+r3146 | nwalsh | 2003-09-29 10:54:10 +0000 (Mon, 29 Sep 2003) | 2 lines
+
+Version 1.62.4 released.
+
+------------------------------------------------------------------------
+r3135 | nwalsh | 2003-09-28 20:35:30 +0000 (Sun, 28 Sep 2003) | 2 lines
+
+Version 1.62.3 released.
+
+------------------------------------------------------------------------
+r3126 | nwalsh | 2003-09-28 14:57:48 +0000 (Sun, 28 Sep 2003) | 2 lines
+
+Version 1.62.2 released.
+
+------------------------------------------------------------------------
+r3123 | nwalsh | 2003-09-27 20:41:24 +0000 (Sat, 27 Sep 2003) | 2 lines
+
+Version 1.62.1 released.
+
+------------------------------------------------------------------------
+r3073 | nwalsh | 2003-08-31 01:55:47 +0000 (Sun, 31 Aug 2003) | 2 lines
+
+Version 1.62.0 released.
+
+------------------------------------------------------------------------
+r2934 | nwalsh | 2003-06-22 17:48:29 +0000 (Sun, 22 Jun 2003) | 2 lines
+
+Version 1.61.3 released.
+
+------------------------------------------------------------------------
+r2885 | nwalsh | 2003-05-22 23:26:44 +0000 (Thu, 22 May 2003) | 2 lines
+
+Version 1.61.2 released.
+
+------------------------------------------------------------------------
+r2882 | nwalsh | 2003-05-19 19:43:30 +0000 (Mon, 19 May 2003) | 2 lines
+
+Post 1.61.1 updates
+
+------------------------------------------------------------------------
+r2879 | nwalsh | 2003-05-18 19:17:00 +0000 (Sun, 18 May 2003) | 2 lines
+
+Version 1.61.1 released.
+
+------------------------------------------------------------------------
+r2877 | nwalsh | 2003-05-18 14:46:08 +0000 (Sun, 18 May 2003) | 2 lines
+
+Version 1.60.1 released.
+
+------------------------------------------------------------------------
+r2868 | nwalsh | 2003-05-08 15:14:27 +0000 (Thu, 08 May 2003) | 2 lines
+
+Post 1.61.0 hacking
+
+------------------------------------------------------------------------
+r2866 | nwalsh | 2003-05-08 14:44:24 +0000 (Thu, 08 May 2003) | 2 lines
+
+Version 1.61.0 released.
+
+------------------------------------------------------------------------
+r2594 | nwalsh | 2003-01-24 22:37:50 +0000 (Fri, 24 Jan 2003) | 2 lines
+
+Version 1.60.1 released.
+
+------------------------------------------------------------------------
+r2538 | nwalsh | 2003-01-21 00:53:17 +0000 (Tue, 21 Jan 2003) | 2 lines
+
+Version 1.60.0 released.
+
+------------------------------------------------------------------------
+r2482 | nwalsh | 2003-01-17 13:50:43 +0000 (Fri, 17 Jan 2003) | 2 lines
+
+Version 1.59.2 released.
+
+------------------------------------------------------------------------
+r2443 | nwalsh | 2003-01-12 18:26:00 +0000 (Sun, 12 Jan 2003) | 2 lines
+
+Version 1.59.1 released.
+
+------------------------------------------------------------------------
+r2417 | nwalsh | 2003-01-01 21:46:15 +0000 (Wed, 01 Jan 2003) | 2 lines
+
+Version 1.59.0 released.
+
+------------------------------------------------------------------------
+r2266 | nwalsh | 2002-11-29 13:54:15 +0000 (Fri, 29 Nov 2002) | 2 lines
+
+Version 1.58.1 released.
+
+------------------------------------------------------------------------
+r2246 | nwalsh | 2002-11-17 17:28:15 +0000 (Sun, 17 Nov 2002) | 2 lines
+
+Version 1.58.0 released.
+
+------------------------------------------------------------------------
+r2199 | nwalsh | 2002-10-22 11:19:18 +0000 (Tue, 22 Oct 2002) | 2 lines
+
+Version 1.57.0 released.
+
+------------------------------------------------------------------------
+r2170 | nwalsh | 2002-10-09 13:14:52 +0000 (Wed, 09 Oct 2002) | 2 lines
+
+Version 1.56.1 released.
+
+------------------------------------------------------------------------
+r2166 | nwalsh | 2002-10-09 10:05:02 +0000 (Wed, 09 Oct 2002) | 2 lines
+
+Version 1.56.0 released.
+
+------------------------------------------------------------------------
+r2079 | nwalsh | 2002-09-17 11:30:08 +0000 (Tue, 17 Sep 2002) | 2 lines
+
+Version 1.55.0 released.
+
+------------------------------------------------------------------------
+r1992 | nwalsh | 2002-09-03 13:59:01 +0000 (Tue, 03 Sep 2002) | 2 lines
+
+Version 1.54.1 released.
+
+------------------------------------------------------------------------
+r1986 | nwalsh | 2002-09-03 11:04:33 +0000 (Tue, 03 Sep 2002) | 2 lines
+
+Version 1.54.0 released.
+
+------------------------------------------------------------------------
+r1922 | nwalsh | 2002-07-28 19:08:54 +0000 (Sun, 28 Jul 2002) | 2 lines
+
+Version 1.53.0 released.
+
+------------------------------------------------------------------------
+r1838 | nwalsh | 2002-07-10 10:34:47 +0000 (Wed, 10 Jul 2002) | 2 lines
+
+Version 1.52.2 released.
+
+------------------------------------------------------------------------
+r1826 | nwalsh | 2002-07-08 09:40:16 +0000 (Mon, 08 Jul 2002) | 2 lines
+
+Keep CVS and real releases distinct
+
+------------------------------------------------------------------------
+r1824 | nwalsh | 2002-07-08 09:07:49 +0000 (Mon, 08 Jul 2002) | 2 lines
+
+Version 1.52.1 released.
+
+------------------------------------------------------------------------
+r1818 | nwalsh | 2002-07-07 23:39:39 +0000 (Sun, 07 Jul 2002) | 2 lines
+
+Version 1.52.0 released.
+
+------------------------------------------------------------------------
+r1580 | nwalsh | 2002-06-03 10:28:11 +0000 (Mon, 03 Jun 2002) | 2 lines
+
+Version 1.51.1 released.
+
+------------------------------------------------------------------------
+r1578 | nwalsh | 2002-06-02 21:20:34 +0000 (Sun, 02 Jun 2002) | 2 lines
+
+Version 1.51.0 released.
+
+------------------------------------------------------------------------
+r1480 | nwalsh | 2002-05-16 17:35:22 +0000 (Thu, 16 May 2002) | 2 lines
+
+Oops again.
+
+------------------------------------------------------------------------
+r1479 | nwalsh | 2002-05-16 17:27:43 +0000 (Thu, 16 May 2002) | 2 lines
+
+Oops.
+
+------------------------------------------------------------------------
+r1477 | nwalsh | 2002-05-16 17:22:26 +0000 (Thu, 16 May 2002) | 2 lines
+
+Version 1.50.1-EXP2 released.
+
+------------------------------------------------------------------------
+r1351 | nwalsh | 2002-03-25 21:14:10 +0000 (Mon, 25 Mar 2002) | 2 lines
+
+Version 1.50.1-EXP released.
+
+------------------------------------------------------------------------
+r1305 | nwalsh | 2002-03-21 01:44:14 +0000 (Thu, 21 Mar 2002) | 2 lines
+
+Version 1.50.0 released.
+
+------------------------------------------------------------------------
+r1232 | nwalsh | 2002-03-14 14:00:13 +0000 (Thu, 14 Mar 2002) | 2 lines
+
+Keep CVS versions distinct from real releases
+
+------------------------------------------------------------------------
+r1164 | nwalsh | 2002-02-20 23:15:24 +0000 (Wed, 20 Feb 2002) | 2 lines
+
+Version 1.49 released.
+
+------------------------------------------------------------------------
+r1076 | nwalsh | 2002-01-06 21:11:38 +0000 (Sun, 06 Jan 2002) | 2 lines
+
+Version 1.48 released.
+
+------------------------------------------------------------------------
+r926 | nwalsh | 2001-11-28 15:14:45 +0000 (Wed, 28 Nov 2001) | 2 lines
+
+Keep CVS versions distinct from real releases
+
+------------------------------------------------------------------------
+r924 | nwalsh | 2001-11-28 14:20:10 +0000 (Wed, 28 Nov 2001) | 2 lines
+
+Version 1.47 released.
+
+------------------------------------------------------------------------
+r768 | nwalsh | 2001-10-13 22:24:36 +0000 (Sat, 13 Oct 2001) | 2 lines
+
+Version 1.46 released.
+
+------------------------------------------------------------------------
+r706 | nwalsh | 2001-09-29 19:11:31 +0000 (Sat, 29 Sep 2001) | 2 lines
+
+Keep CVS versions distinct from real releases
+
+------------------------------------------------------------------------
+r704 | nwalsh | 2001-09-29 18:44:39 +0000 (Sat, 29 Sep 2001) | 2 lines
+
+Version 1.45 released.
+
+------------------------------------------------------------------------
+r636 | nwalsh | 2001-08-14 15:03:31 +0000 (Tue, 14 Aug 2001) | 2 lines
+
+Version 1.44 released.
+
+------------------------------------------------------------------------
+r633 | nwalsh | 2001-08-13 22:05:42 +0000 (Mon, 13 Aug 2001) | 2 lines
+
+Keep CVS versions distinct from real releases
+
+------------------------------------------------------------------------
+r630 | nwalsh | 2001-08-13 22:01:58 +0000 (Mon, 13 Aug 2001) | 2 lines
+
+Version 1.43 released.
+
+------------------------------------------------------------------------
+r590 | nwalsh | 2001-08-06 13:33:05 +0000 (Mon, 06 Aug 2001) | 2 lines
+
+Keep CVS versions distinct from real releases
+
+------------------------------------------------------------------------
+r588 | nwalsh | 2001-08-06 13:25:39 +0000 (Mon, 06 Aug 2001) | 2 lines
+
+Version 1.42 released.
+
+------------------------------------------------------------------------
+r574 | nwalsh | 2001-08-04 22:00:35 +0000 (Sat, 04 Aug 2001) | 2 lines
+
+Make VERSION a parameter so that it isn't an error some stylesheets override it
+
+------------------------------------------------------------------------
+r457 | nwalsh | 2001-07-09 10:01:46 +0000 (Mon, 09 Jul 2001) | 2 lines
+
+Version 1.41 released.
+
+------------------------------------------------------------------------
+r345 | nwalsh | 2001-06-14 18:39:36 +0000 (Thu, 14 Jun 2001) | 2 lines
+
+Version 1.40 released.
+
+------------------------------------------------------------------------
+r288 | nwalsh | 2001-05-24 20:32:04 +0000 (Thu, 24 May 2001) | 2 lines
+
+Version 1.39 released.
+
+------------------------------------------------------------------------
+r276 | nwalsh | 2001-05-21 19:25:17 +0000 (Mon, 21 May 2001) | 2 lines
+
+Version 1.38 released.
+
+------------------------------------------------------------------------
+r195 | nwalsh | 2001-04-20 11:57:57 +0000 (Fri, 20 Apr 2001) | 2 lines
+
+Version 1.37 released.
+
+------------------------------------------------------------------------
+r106 | nwalsh | 2001-04-04 11:56:43 +0000 (Wed, 04 Apr 2001) | 2 lines
+
+Version 1.36 released.
+
+------------------------------------------------------------------------
+r69 | nwalsh | 2001-04-02 13:03:45 +0000 (Mon, 02 Apr 2001) | 2 lines
+
+Initial checkin
+
+------------------------------------------------------------------------
Added: ofbiz/trunk/applications/content/template/docbook/params/body.margin.inner.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/template/docbook/params/body.margin.inner.xml?rev=1395298&view=auto
==============================================================================
--- ofbiz/trunk/applications/content/template/docbook/params/body.margin.inner.xml (added)
+++ ofbiz/trunk/applications/content/template/docbook/params/body.margin.inner.xml Sun Oct 7 13:31:52 2012
@@ -0,0 +1,52 @@
+<refentry xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="5.0" xml:id="body.margin.inner">
+<refmeta>
+<refentrytitle>body.margin.inner</refentrytitle>
+<refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>body.margin.inner</refname>
+<refpurpose>Specify the size of the inner margin of the body region</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment xml:id="body.margin.inner.frag">
+<xsl:param name="body.margin.inner">0in</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsection><info><title>Description</title></info>
+
+<para>The inner body margin is the extra inner side
+(binding side) margin taken from the body
+region in addition to the inner page margin.
+It makes room for a side region for text content whose width is
+specified by the <parameter>region.inner.extent</parameter>
+parameter.</para>
+
+<para>For double-sided output,
+this side region
+is <literal>fo:region-start</literal> on a odd-numbered page,
+and <literal>fo:region-end</literal> on an even-numbered page.</para>
+
+<para>For single-sided output,
+this side region
+is <literal>fo:region-start</literal> for all pages.</para>
+
+<para>This correspondence applies to all languages,
+both left-to-right and right-to-left writing modes.</para>
+
+<para>The default value is zero.</para>
+
+<para>See also
+<parameter>region.inner.extent</parameter>,
+<parameter>region.outer.extent</parameter>,
+<parameter>body.margin.outer</parameter>,
+<parameter>side.region.precedence</parameter>.
+</para>
+</refsection>
+</refentry>
Propchange: ofbiz/trunk/applications/content/template/docbook/params/body.margin.inner.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/applications/content/template/docbook/params/body.margin.inner.xml
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/trunk/applications/content/template/docbook/params/body.margin.inner.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: ofbiz/trunk/applications/content/template/docbook/params/body.margin.outer.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/template/docbook/params/body.margin.outer.xml?rev=1395298&view=auto
==============================================================================
--- ofbiz/trunk/applications/content/template/docbook/params/body.margin.outer.xml (added)
+++ ofbiz/trunk/applications/content/template/docbook/params/body.margin.outer.xml Sun Oct 7 13:31:52 2012
@@ -0,0 +1,53 @@
+<refentry xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="5.0" xml:id="body.margin.outer">
+<refmeta>
+<refentrytitle>body.margin.outer</refentrytitle>
+<refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>body.margin.outer</refname>
+<refpurpose>Specify the size of the outer margin of the body region</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment xml:id="body.margin.outer.frag">
+<xsl:param name="body.margin.outer">0in</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsection><info><title>Description</title></info>
+
+<para>The outer body margin is the extra outer side
+(opposite the binding side) margin taken
+from the body
+region in addition to the outer page margin.
+It makes room for a side region for text content whose width is
+specified by the <parameter>region.outer.extent</parameter>
+parameter.</para>
+
+<para>For double-sided output,
+this side region
+is <literal>fo:region-end</literal> on a odd-numbered page,
+and <literal>fo:region-start</literal> on an even-numbered page.</para>
+
+<para>For single-sided output,
+this side region
+is <literal>fo:region-end</literal> for all pages.</para>
+
+<para>This correspondence applies to all languages,
+both left-to-right and right-to-left writing modes.</para>
+
+<para>The default value is zero.</para>
+
+<para>See also
+<parameter>region.inner.extent</parameter>,
+<parameter>region.outer.extent</parameter>,
+<parameter>body.margin.inner</parameter>,
+<parameter>side.region.precedence</parameter>.
+</para>
+</refsection>
+</refentry>
Propchange: ofbiz/trunk/applications/content/template/docbook/params/body.margin.outer.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/applications/content/template/docbook/params/body.margin.outer.xml
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/trunk/applications/content/template/docbook/params/body.margin.outer.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: ofbiz/trunk/applications/content/template/docbook/params/callout.properties.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/template/docbook/params/callout.properties.xml?rev=1395298&view=auto
==============================================================================
--- ofbiz/trunk/applications/content/template/docbook/params/callout.properties.xml (added)
+++ ofbiz/trunk/applications/content/template/docbook/params/callout.properties.xml Sun Oct 7 13:31:52 2012
@@ -0,0 +1,23 @@
+<refentry xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="5.0" xml:id="callout.properties">
+<refmeta>
+<refentrytitle>callout.properties</refentrytitle>
+<refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>callout.properties</refname>
+<refpurpose>Properties that apply to the list-item generated by each callout within a calloutlist.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment xml:id="callout.properties.frag"><xsl:attribute-set name="callout.properties">
+</xsl:attribute-set></src:fragment>
+</refsynopsisdiv>
+<refsection><info><title>Description</title></info>
+<para>Properties that apply to the fo:list-item generated by each callout within a calloutlist. Typically used to add spacing properties.</para>
+</refsection>
+</refentry>
Propchange: ofbiz/trunk/applications/content/template/docbook/params/callout.properties.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/applications/content/template/docbook/params/callout.properties.xml
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/trunk/applications/content/template/docbook/params/callout.properties.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: ofbiz/trunk/applications/content/template/docbook/params/calloutlist.properties.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/template/docbook/params/calloutlist.properties.xml?rev=1395298&view=auto
==============================================================================
--- ofbiz/trunk/applications/content/template/docbook/params/calloutlist.properties.xml (added)
+++ ofbiz/trunk/applications/content/template/docbook/params/calloutlist.properties.xml Sun Oct 7 13:31:52 2012
@@ -0,0 +1,32 @@
+<refentry xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="5.0" xml:id="calloutlist.properties">
+<refmeta>
+<refentrytitle>calloutlist.properties</refentrytitle>
+<refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>calloutlist.properties</refname>
+<refpurpose>Properties that apply to each list-block generated by calloutlist.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment xml:id="calloutlist.properties.frag"><xsl:attribute-set name="calloutlist.properties">
+ <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+ <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+ <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
+ <xsl:attribute name="provisional-distance-between-starts">2.2em</xsl:attribute>
+ <xsl:attribute name="provisional-label-separation">0.2em</xsl:attribute>
+</xsl:attribute-set></src:fragment>
+</refsynopsisdiv>
+<refsection><info><title>Description</title></info>
+<para>Properties that apply to the fo:list-block generated by calloutlist.
+Typically used to adjust spacing or margins of the entire list.
+Change the <literal>provisional-distance-between-starts</literal> attribute to
+change the indent of the list paragraphs relative to the
+callout numbers.</para>
+</refsection>
+</refentry>
Propchange: ofbiz/trunk/applications/content/template/docbook/params/calloutlist.properties.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/applications/content/template/docbook/params/calloutlist.properties.xml
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/trunk/applications/content/template/docbook/params/calloutlist.properties.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: ofbiz/trunk/applications/content/template/docbook/params/chunked.filename.prefix.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/template/docbook/params/chunked.filename.prefix.xml?rev=1395298&view=auto
==============================================================================
--- ofbiz/trunk/applications/content/template/docbook/params/chunked.filename.prefix.xml (added)
+++ ofbiz/trunk/applications/content/template/docbook/params/chunked.filename.prefix.xml Sun Oct 7 13:31:52 2012
@@ -0,0 +1,41 @@
+<refentry xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="5.0" xml:id="chunked.filename.prefix">
+<refmeta>
+<refentrytitle>chunked.filename.prefix</refentrytitle>
+<refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>chunked.filename.prefix</refname>
+<refpurpose>Filename prefix for chunked files</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment xml:id="chunked.filename.prefix.frag">
+<xsl:param name="chunked.filename.prefix"></xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsection><info><title>Description</title></info>
+
+<para>If specified, the <parameter>chunked.filename.prefix</parameter>
+parameter specifies a prefix string to add to each generated chunk filename.
+For example:</para>
+<programlisting><xsl:param name="chunked.filename.prefix">admin-<xsl:param></programlisting>
+<para>will produce chunked filenames like:</para>
+<programlisting>admin-index.html
+admin-ch01.html
+admin-ch01s01.html
+...
+</programlisting>
+
+<caution><para>Trying to use the <parameter>base.dir</parameter>
+parameter to add a string prefix (by omitting the trailing slash)
+no longer works (it never worked completely anyway). That parameter
+value should contain only a directory path, and
+now gets a trailing slash appended if it was omitted from the param.</para></caution>
+</refsection>
+</refentry>
Propchange: ofbiz/trunk/applications/content/template/docbook/params/chunked.filename.prefix.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/applications/content/template/docbook/params/chunked.filename.prefix.xml
------------------------------------------------------------------------------
svn:keywords = Date Rev Author URL Id
Propchange: ofbiz/trunk/applications/content/template/docbook/params/chunked.filename.prefix.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: ofbiz/trunk/applications/content/template/docbook/params/custom.css.source.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/template/docbook/params/custom.css.source.xml?rev=1395298&view=auto
==============================================================================
--- ofbiz/trunk/applications/content/template/docbook/params/custom.css.source.xml (added)
+++ ofbiz/trunk/applications/content/template/docbook/params/custom.css.source.xml Sun Oct 7 13:31:52 2012
@@ -0,0 +1,119 @@
+<refentry xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="5.0" xml:id="custom.css.source">
+ <refmeta>
+ <refentrytitle>custom.css.source</refentrytitle>
+ <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
+ </refmeta>
+ <refnamediv>
+ <refname>custom.css.source</refname>
+ <refpurpose>Name of a custom CSS input file</refpurpose>
+ </refnamediv>
+
+ <refsynopsisdiv>
+ <src:fragment xml:id="custom.css.source.frag"><xsl:param name="custom.css.source"></xsl:param></src:fragment>
+ </refsynopsisdiv>
+
+ <refsection><info><title>Description</title></info>
+
+<para>The <parameter>custom.css.source</parameter>
+parameter enables you to add CSS styles to DocBook's
+HTML output.</para>
+
+<para>The parameter
+specifies the name of a file containing custom
+CSS styles. The file must be a well-formed XML file that
+consists of a single <tag>style</tag> root
+element that contains CSS styles as its text content.
+For example:</para>
+<programlisting><![CDATA[<?xml version="1.0"?>
+<style>
+h2 {
+ font-weight: bold;
+ color: blue;
+}
+...
+</style>
+]]></programlisting>
+
+<para>The filename specified by the parameter
+should have a <literal>.xml</literal>
+filename suffix, although that is not required.
+The default value of this parameter is blank.</para>
+
+<para>If <parameter>custom.css.source</parameter> is not blank, then
+the stylesheet takes the following actions.
+These actions take place regardless of the value of
+the <parameter>make.clean.html</parameter> parameter.</para>
+
+<orderedlist>
+ <listitem>
+ <para>The stylesheet uses the XSLT <literal>document()</literal>
+ function to open the file specified by the parameter and
+ load it into a variable.</para>
+ </listitem>
+ <listitem>
+ <para>The stylesheet forms an output pathname consisting of the
+ value of the <parameter>base.dir</parameter> parameter (if it is set)
+ and the value of <parameter>custom.css.source</parameter>,
+ with the <literal>.xml</literal> suffix stripped off.
+ </para>
+ </listitem>
+ <listitem>
+ <para>The stylesheet removes the <tag>style</tag>
+ wrapper element and writes just the CSS text content to the output file.</para>
+ </listitem>
+ <listitem>
+ <para>The stylesheet adds a <tag>link</tag> element to the
+ HTML <tag>HEAD</tag> element to reference this external CSS stylesheet.
+ For example:
+ <programlisting><link rel="stylesheet" href="custom.css" type="text/css">
+ </programlisting>
+ </para>
+ </listitem>
+</orderedlist>
+
+
+
+<para>If the <parameter>make.clean.html</parameter> parameter is nonzero
+(the default is zero),
+and if the <parameter>docbook.css.source</parameter> parameter
+is not blank (the default is not blank),
+then the stylesheet will also generate a default CSS file
+and add a <tag>link</tag> tag to reference it.
+The <tag>link</tag> to the custom CSS comes after the
+<tag>link</tag> to the default, so it should cascade properly
+in most browsers.
+If you do not want two <tag>link</tag> tags, and
+instead want your custom CSS to import the default generated
+CSS file, then do the following:
+</para>
+
+<orderedlist>
+ <listitem>
+ <para>Add a line like the following to your custom CSS source file:</para>
+ <programlisting>@import url("docbook.css")
+ </programlisting>
+ </listitem>
+ <listitem>
+ <para>Set the <parameter>docbook.css.link</parameter> parameter
+ to zero. This will omit the <tag>link</tag> tag
+ that references the default CSS file.</para>
+ </listitem>
+</orderedlist>
+
+<para>If you set <parameter>make.clean.html</parameter> to nonzero but
+you do not want the default CSS generated, then also set
+the <parameter>docbook.css.source</parameter> parameter to blank.
+Then no default CSS will be generated, and so
+all CSS styles must come from your custom CSS file.</para>
+
+<para>You can use the <parameter>generate.css.header</parameter>
+parameter to instead write the CSS to each HTML <tag>HEAD</tag>
+element in a <tag>style</tag> tag instead of an external CSS file.</para>
+
+ </refsection>
+</refentry>