[jboss-cvs] jboss-profiler/docbook/docbook-support/support/docbook-xsl ...

Clebert Suconic csuconic at jboss.com
Fri Nov 10 12:40:23 EST 2006


  User: csuconic
  Date: 06/11/10 12:40:23

  Added:       docbook/docbook-support/support/docbook-xsl   README VERSION
  Log:
  Adding docbook under jboss-profiler tree
  
  Revision  Changes    Path
  1.1      date: 2006/11/10 17:40:23;  author: csuconic;  state: Exp;jboss-profiler/docbook/docbook-support/support/docbook-xsl/README
  
  Index: README
  ===================================================================
  README for the DocBook Stylesheets
  
  These are XSL stylesheets for the DocBook XML DTD. (They would
  also work for the DocBook DTD, modulo certain namecase problems
  and the fact that there aren't (yet) any XSL implementations
  that work with SGML source documents.)
  
  As of version 1.0, most of the elements in DocBook are handled
  in some way or another, usually reasonably, but there's still
  lots of work to be done.
  
  For more information, see http://docbook.sourceforge.net/
  
  Manifest
  --------
  
  README      this file
  TODO        planned features not yet implemented (may be incomplete :-)
  BUGS        known problems (may also be incomplete :-)
  VERSION     the current version number (note that this is an XSL stylesheet,
              included by both fo/docbook.xsl and html/docbook.xsl)
  WhatsNew    changes since the last public release (for a complete list
              of changes, see the ChangeLog file(s))
  common/	    contains code common to both stylesheets
  doc/        documentation
  docsrc/     documentation sources
  extensions/ Java extensions
  fo/         stylesheets that produce XSL FO
  html/	    stylesheets that produce HTML
  htmlhelp/   stylesheets that produce HTML Help 
  images/     images
  javahelp/   stylesheets that produce Java Help
  lib/        contains schema-independent functions
  template/   contains templates for building stylesheet customization layers
  xhtml/      stylesheets that produce XHTML
  
  Changes
  -------
  
  See the ChangeLog in each directory for additional information
  about the specific changes.
  
  See WhatsNew for changes since the last release.
  
  Installation
  ------------
  
  Unpack the distribution somewhere.
  
  Use
  ---
  
  Process your DocBook documents with one of the following stylesheets
  using your favorite XSLT processor:
  
    xhtml/docbook.xsl     - for XHTML
    html/docbook.xsl      - for HTML (as a single file)
    html/chunk.xsl        - for HTML (multiple files)
    fo/docbook.xsl        - for XSL FO
    htmlhelp/htmlhelp.xsl - for HTML Help
    javahelp/javahelp.xsl - for JavaHelp
  
  Copyright
  ---------
  
  Copyright (C) 1999, 2000, 2001, 2002 Norman Walsh
  
  Permission is hereby granted, free of charge, to any person
  obtaining a copy of this software and associated documentation
  files (the ``Software''), to deal in the Software without
  restriction, including without limitation the rights to use,
  copy, modify, merge, publish, distribute, sublicense, and/or
  sell copies of the Software, and to permit persons to whom the
  Software is furnished to do so, subject to the following
  conditions:
  
  The above copyright notice and this permission notice shall be
  included in all copies or substantial portions of the Software.
  
  Except as contained in this notice, the names of individuals
  credited with contribution to this software shall not be used in
  advertising or otherwise to promote the sale, use or other
  dealings in this Software without prior written authorization
  from the individuals in question.
  
  Any stylesheet derived from this Software that is publically
  distributed will be identified with a different name and the
  version strings in any derived Software will be changed so that
  no possibility of confusion between the derived package and this
  Software will exist.
  
  Warranty
  --------
  
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
  OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  NONINFRINGEMENT.  IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER
  CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  OTHER DEALINGS IN THE SOFTWARE.
  
  Contacting the Author
  ---------------------
  
  These stylesheets are maintained by Norman Walsh, <ndw at nwalsh.com>.
  
  
  
  1.1      date: 2006/11/10 17:40:23;  author: csuconic;  state: Exp;jboss-profiler/docbook/docbook-support/support/docbook-xsl/VERSION
  
  Index: VERSION
  ===================================================================
  <?xml version='1.0'?> <!-- -*- nxml -*- -->
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                  xmlns:fm="http://freshmeat.net/projects/freshmeat-submit/"
  		xmlns:sf="http://sourceforge.net/"
  		exclude-result-prefixes="fm sf"
                  version='1.0'>
  
  <xsl:param name="VERSION" select="string(document('')//fm:Version[1])"/>
  <xsl:param name="sf-relid" select="0"/>
  <xsl:strip-space elements="fm:*"/>
  
  <fm:project>
    <fm:Project>DocBook</fm:Project>
    <fm:Branch>XSL Stylesheets</fm:Branch>
    <fm:Version>1.65.1</fm:Version>
  <!--
    <fm:License>MIT/X Consortium License</fm:License>
  -->
    <fm:Release-Focus>
    <!-- initial freshmeat announcement -->
    <!-- documentation -->
    <!-- code cleanup -->
    <!-- Minor feature enhancements -->
    <!-- major feature enhancements -->
    Minor bugfixes
    <!-- major bugfixes -->
    <!-- minor security fixes -->
    <!-- major security fixes -->
    </fm:Release-Focus>
    <fm:Home-Page-URL>http://sourceforge.net/projects/docbook/</fm:Home-Page-URL>
    <fm:Gzipped-Tar-URL>http://prdownloads.sourceforge.net/docbook/docbook-xsl-{VERSION}.tar.gz?download</fm:Gzipped-Tar-URL>
    <fm:Zipped-Tar-URL>http://prdownloads.sourceforge.net/docbook/docbook-xsl-{VERSION}.zip?download</fm:Zipped-Tar-URL>
    <fm:Changelog-URL>http://sourceforge.net/project/shownotes.php?release_id={SFRELID}</fm:Changelog-URL>
    <fm:CVS-URL>http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/docbook/xsl/</fm:CVS-URL>
    <fm:Mailing-List-URL>http://lists.oasis-open.org/archives/docbook-apps/</fm:Mailing-List-URL>
    <fm:Changes>Small bug fixes. Fixed CA localization.
  </fm:Changes>
  </fm:project>
  
  <xsl:template match="/" priority="-100">
    <xsl:if test="$sf-relid = 0">
      <xsl:message terminate="yes">
        <xsl:text>You must specify the sf-relid as a parameter.</xsl:text>
      </xsl:message>
    </xsl:if>
  
    <xsl:apply-templates select="//fm:project"/>
  </xsl:template>
  
  <xsl:template match="fm:project">
    <xsl:text>&#10;</xsl:text>
    <xsl:apply-templates/>
    <xsl:text>&#10;</xsl:text>
    <xsl:apply-templates select="fm:Changes" mode="text"/>
  </xsl:template>
  
  <xsl:template match="fm:Changes"/>
  
  <xsl:template match="fm:Gzipped-Tar-URL|fm:Zipped-Tar-URL">
    <xsl:value-of select="local-name(.)"/>
    <xsl:text>: </xsl:text>
    <xsl:value-of select="substring-before(., '{VERSION}')"/>
    <xsl:value-of select="$VERSION"/>
    <xsl:value-of select="substring-after(., '{VERSION}')"/>
    <xsl:text>&#10;</xsl:text>
  </xsl:template>
  
  <xsl:template match="fm:Changelog-URL">
    <xsl:value-of select="local-name(.)"/>
    <xsl:text>: </xsl:text>
    <xsl:value-of select="substring-before(., '{SFRELID}')"/>
    <xsl:value-of select="$sf-relid"/>
    <xsl:value-of select="substring-after(., '{SFRELID}')"/>
    <xsl:text>&#10;</xsl:text>
  </xsl:template>
  
  <xsl:template match="fm:*">
    <xsl:value-of select="local-name(.)"/>
    <xsl:text>: </xsl:text>
    <xsl:value-of select="normalize-space(.)"/>
    <xsl:text>&#10;</xsl:text>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  



More information about the jboss-cvs-commits mailing list