You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2018/08/26 15:34:10 UTC
[2/6] httpcomponents-core git commit: Removed HttpCore 4.x tutorual
sources
http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/c53af482/src/docbkx/preface.xml
----------------------------------------------------------------------
diff --git a/src/docbkx/preface.xml b/src/docbkx/preface.xml
deleted file mode 100644
index f344fa3..0000000
--- a/src/docbkx/preface.xml
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE preface PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
- "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
-<!--
- ====================================================================
- 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.
- ====================================================================
-
--->
-<preface id="preface">
- <title>Preface</title>
- <para>
- HttpCore is a set of components implementing the most fundamental aspects
- of the HTTP protocol that are nonetheless sufficient to develop full-featured
- client-side and server-side HTTP services with a minimal footprint.
- </para>
- <para>
- HttpCore has the following scope and goals:
- </para>
- <section>
- <title>HttpCore Scope</title>
- <itemizedlist>
- <listitem>
- <para>
- A consistent API for building client / proxy / server side HTTP services
- </para>
- </listitem>
- <listitem>
- <para>
- A consistent API for building both synchronous and asynchronous HTTP services
- </para>
- </listitem>
- <listitem>
- <para>
- A set of low level components based on blocking (classic) and non-blocking
- (NIO) I/O models
- </para>
- </listitem>
- </itemizedlist>
- </section>
- <section>
- <title>HttpCore Goals</title>
- <itemizedlist>
- <listitem>
- <para>
- Implementation of the most fundamental HTTP transport aspects
- </para>
- </listitem>
- <listitem>
- <para>
- Balance between good performance and the clarity & expressiveness of API
- </para>
- </listitem>
- <listitem>
- <para>
- Small (predictable) memory footprint
- </para>
- </listitem>
- <listitem>
- <para>
- Self-contained library (no external dependencies beyond JRE)
- </para>
- </listitem>
- </itemizedlist>
- </section>
- <section>
- <title>What HttpCore is NOT</title>
- <itemizedlist>
- <listitem>
- <para>
- A replacement for HttpClient
- </para>
- </listitem>
- <listitem>
- <para>
- A replacement for Servlet APIs
- </para>
- </listitem>
- </itemizedlist>
- </section>
-
-</preface>
http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/c53af482/src/docbkx/resources/css/hc-tutorial.css
----------------------------------------------------------------------
diff --git a/src/docbkx/resources/css/hc-tutorial.css b/src/docbkx/resources/css/hc-tutorial.css
deleted file mode 100644
index ddd1d30..0000000
--- a/src/docbkx/resources/css/hc-tutorial.css
+++ /dev/null
@@ -1,309 +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.
- ====================================================================
-
- This software consists of voluntary contributions made by many
- individuals on behalf of the Apache Software Foundation. For more
- information on the Apache Software Foundation, please see
- <http://www.apache.org/>.
- ====================================================================
-
- Based on the CSS file for the Spring Reference Documentation.
-*/
-
-
-body {
- text-align: justify;
- margin-right: 2em;
- margin-left: 2em;
-}
-
-a:active {
- color: #003399;
-}
-
-a:visited {
- color: #888888;
-}
-
-p {
- font-family: Verdana, Arial, sans-serif;
-}
-
-dt {
- font-family: Verdana, Arial, sans-serif;
- font-size: 12px;
-}
-
-p, dl, dt, dd, blockquote {
- color: #000000;
- margin-bottom: 3px;
- margin-top: 3px;
- padding-top: 0px;
-}
-
-ol, ul, p {
- margin-top: 6px;
- margin-bottom: 6px;
-}
-
-p, blockquote {
- font-size: 90%;
-}
-
-p.releaseinfo {
- font-size: 100%;
- font-weight: bold;
- font-family: Verdana, Arial, helvetica, sans-serif;
- padding-top: 10px;
-}
-
-p.pubdate {
- font-size: 120%;
- font-weight: bold;
- font-family: Verdana, Arial, helvetica, sans-serif;
-}
-
-td {
- font-size: 80%;
-}
-
-td, th, span {
- color: #000000;
-}
-
-blockquote {
- margin-right: 0px;
-}
-
-h1, h2, h3, h4, h6, H6 {
- color: #000000;
- font-weight: 500;
- margin-top: 0px;
- padding-top: 14px;
- font-family: Verdana, Arial, helvetica, sans-serif;
- margin-bottom: 0px;
-}
-
-h2.title {
- font-weight: 800;
- margin-bottom: 8px;
-}
-
-h2.subtitle {
- font-weight: 800;
- margin-bottom: 20px;
-}
-
-.firstname, .surname {
- font-size: 12px;
- font-family: Verdana, Arial, helvetica, sans-serif;
-}
-
-table {
- border-collapse: collapse;
- border-spacing: 0;
- border: 1px black;
- empty-cells: hide;
- margin: 10px 0px 30px 50px;
- width: 90%;
-}
-
-div.table {
- margin: 30px 0px 30px 0px;
- border: 1px dashed gray;
- padding: 10px;
-}
-
-div .table-contents table {
- border: 1px solid black;
-}
-
-div.table > p.title {
- padding-left: 10px;
-}
-
-td {
- padding: 4pt;
- font-family: Verdana, Arial, helvetica, sans-serif;
-}
-
-div.warning TD {
- text-align: justify;
-}
-
-h1 {
- font-size: 150%;
-}
-
-h2 {
- font-size: 110%;
-}
-
-h3 {
- font-size: 100%;
- font-weight: bold;
-}
-
-h4 {
- font-size: 90%;
- font-weight: bold;
-}
-
-h5 {
- font-size: 90%;
- font-style: italic;
-}
-
-h6 {
- font-size: 100%;
- font-style: italic;
-}
-
-tt {
- font-size: 110%;
- font-family: "Courier New", Courier, monospace;
- color: #000000;
-}
-
-.navheader, .navfooter {
- border: none;
-}
-
-pre {
- font-size: 110%;
- padding: 5px;
- border-style: solid;
- border-width: 1px;
- border-color: #CCCCCC;
- background-color: #f3f5e9;
-}
-
-ul, ol, li {
- list-style: disc;
-}
-
-hr {
- width: 100%;
- height: 1px;
- background-color: #CCCCCC;
- border-width: 0px;
- padding: 0px;
-}
-
-.variablelist {
- padding-top: 10px;
- padding-bottom: 10px;
- margin: 0;
-}
-
-.term {
- font-weight: bold;
-}
-
-.mediaobject {
- padding-top: 30px;
- padding-bottom: 30px;
-}
-
-.legalnotice {
- font-family: Verdana, Arial, helvetica, sans-serif;
- font-size: 12px;
- font-style: italic;
-}
-
-.sidebar {
- float: right;
- margin: 10px 0px 10px 30px;
- padding: 10px 20px 20px 20px;
- width: 33%;
- border: 1px solid black;
- background-color: #F4F4F4;
- font-size: 14px;
-}
-
-.property {
- font-family: "Courier New", Courier, monospace;
-}
-
-a code {
- font-family: Verdana, Arial, monospace;
- font-size: 12px;
-}
-
-td code {
- font-size: 110%;
-}
-
-div.note * td,
- div.tip * td,
- div.warning * td,
- div.calloutlist * td {
- text-align: justify;
- font-size: 100%;
-}
-
-.programlisting .interfacename,
- .programlisting .literal,
- .programlisting .classname {
- font-size: 95%;
-}
-
-.title .interfacename,
- .title .literal,
- .title .classname {
- font-size: 130%;
-}
-
-.programlisting * .lineannotation,
- .programlisting * .lineannotation * {
- color: blue;
-}
-
-.bannerLeft, .bannerRight {
- font-size: xx-large;
- font-weight: bold;
-}
-
-.bannerLeft img, .bannerRight img {
- margin: 0px;
-}
-
-.bannerLeft img {
- float:left;
- text-shadow: #7CFC00;
-}
-
-.bannerRight img {
- float:right;
- text-shadow: #7CFC00;
-}
-
-.banner {
- padding: 0px;
-}
-
-.banner img {
- border: none;
-}
-
-.clear {
- clear:both;
- visibility: hidden;
-}
http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/c53af482/src/docbkx/resources/images/asf_logo_wide.gif
----------------------------------------------------------------------
diff --git a/src/docbkx/resources/images/asf_logo_wide.gif b/src/docbkx/resources/images/asf_logo_wide.gif
deleted file mode 100644
index b240328..0000000
Binary files a/src/docbkx/resources/images/asf_logo_wide.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/c53af482/src/docbkx/resources/images/hc_logo.png
----------------------------------------------------------------------
diff --git a/src/docbkx/resources/images/hc_logo.png b/src/docbkx/resources/images/hc_logo.png
deleted file mode 100644
index 8575ae5..0000000
Binary files a/src/docbkx/resources/images/hc_logo.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/c53af482/src/docbkx/resources/xsl/fopdf.xsl
----------------------------------------------------------------------
diff --git a/src/docbkx/resources/xsl/fopdf.xsl b/src/docbkx/resources/xsl/fopdf.xsl
deleted file mode 100644
index f8647f1..0000000
--- a/src/docbkx/resources/xsl/fopdf.xsl
+++ /dev/null
@@ -1,381 +0,0 @@
-<?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
- 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 software consists of voluntary contributions made by many
- individuals on behalf of the Apache Software Foundation. For more
- information on the Apache Software Foundation, please see
- <http://www.apache.org />.
- ====================================================================
-
- Based on XSL FO (PDF) stylesheet for the Spring reference
- documentation.
-
- Thanks are due to Christian Bauer of the Hibernate project
- team for writing the original stylesheet 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"/>
-
- <!-- 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>HttpCore (</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>
-
- <!--###################################################
- 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="'. '"/>
-
- <!-- Show titles in bookmarks pane -->
- <xsl:param name="fop1.extensions">1</xsl:param>
-
-
- <!--###################################################
- 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>
http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/c53af482/src/docbkx/resources/xsl/html.xsl
----------------------------------------------------------------------
diff --git a/src/docbkx/resources/xsl/html.xsl b/src/docbkx/resources/xsl/html.xsl
deleted file mode 100644
index 49c223d..0000000
--- a/src/docbkx/resources/xsl/html.xsl
+++ /dev/null
@@ -1,116 +0,0 @@
-<?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
- 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 software consists of voluntary contributions made by many
- individuals on behalf of the Apache Software Foundation. For more
- information on the Apache Software Foundation, please see
- <http://www.apache.org />.
- ====================================================================
-
- Based on the XSL HTML configuration file for the Spring
- 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">0</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">0</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>
http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/c53af482/src/docbkx/resources/xsl/html_chunk.xsl
----------------------------------------------------------------------
diff --git a/src/docbkx/resources/xsl/html_chunk.xsl b/src/docbkx/resources/xsl/html_chunk.xsl
deleted file mode 100644
index 282b1ea..0000000
--- a/src/docbkx/resources/xsl/html_chunk.xsl
+++ /dev/null
@@ -1,113 +0,0 @@
-<?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
- 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 software consists of voluntary contributions made by many
- individuals on behalf of the Apache Software Foundation. For more
- information on the Apache Software Foundation, please see
- <http://www.apache.org />.
- ====================================================================
-
- Based on the XSL HTML configuration file for the Spring
- 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>
- <!-- 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
- ################################################### -->
- <!-- Place callout marks at this column in annotated areas -->
- <xsl:param name="callout.graphics">1</xsl:param>
- <xsl:param name="callout.defaultcolumn">90</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
- ################################################### -->
- <xsl:template name="user.header.navigation">
- <div class="banner">
- <a class="bannerLeft" href="http://www.apache.org/"
- title="Apache Software Foundation">
- <img style="border:none;" src="images/asf_logo_wide.gif"/>
- </a>
- <a class="bannerRight" href="http://hc.apache.org/httpcomponents-core-ga/"
- title="Apache HttpComponents Core">
- <img style="border:none;" src="images/hc_logo.png"/>
- </a>
- <div class="clear"/>
- </div>
- </xsl:template>
-</xsl:stylesheet>