You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ibatis.apache.org by gb...@apache.org on 2008/08/04 20:43:44 UTC

svn commit: r682456 [6/7] - in /ibatis/trunk/cs/V3/docs: ./ dataAccessGuide/ dataAccessGuide/resources/ dataAccessGuide/src/ dataAccessGuide/src/en/ dataAccessGuide/src/en/images/ dataAccessGuide/styles/ dataMapperGuide/ dataMapperGuide/resources/ data...

Added: ibatis/trunk/cs/V3/docs/dataMapperGuide/src/en/xsd-config-template.xml
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/dataMapperGuide/src/en/xsd-config-template.xml?rev=682456&view=auto
==============================================================================
--- ibatis/trunk/cs/V3/docs/dataMapperGuide/src/en/xsd-config-template.xml (added)
+++ ibatis/trunk/cs/V3/docs/dataMapperGuide/src/en/xsd-config-template.xml Mon Aug  4 11:43:42 2008
@@ -0,0 +1,4 @@
+<appendix id="sqlMapConfigSchema">
+  <title>iBATIS.NET's <literal>SqlMapConfig.xsd</literal></title>
+  <programlisting><![CDATA[@xsd-include@]]></programlisting>
+</appendix>

Added: ibatis/trunk/cs/V3/docs/dataMapperGuide/src/en/xsd-sqlMap-template.xml
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/dataMapperGuide/src/en/xsd-sqlMap-template.xml?rev=682456&view=auto
==============================================================================
--- ibatis/trunk/cs/V3/docs/dataMapperGuide/src/en/xsd-sqlMap-template.xml (added)
+++ ibatis/trunk/cs/V3/docs/dataMapperGuide/src/en/xsd-sqlMap-template.xml Mon Aug  4 11:43:42 2008
@@ -0,0 +1,4 @@
+<appendix id="sqlMapSchema">
+  <title>iBATIS.NET's <literal>SqlMap.xsd</literal></title>
+  <programlisting><![CDATA[@xsd-include@]]></programlisting>
+</appendix>

Added: ibatis/trunk/cs/V3/docs/dataMapperGuide/styles/fopdf.xsl
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/dataMapperGuide/styles/fopdf.xsl?rev=682456&view=auto
==============================================================================
--- ibatis/trunk/cs/V3/docs/dataMapperGuide/styles/fopdf.xsl (added)
+++ ibatis/trunk/cs/V3/docs/dataMapperGuide/styles/fopdf.xsl Mon Aug  4 11:43:42 2008
@@ -0,0 +1,575 @@
+<?xml version="1.0"?>
+
+<!-- 
+
+    This is the XSL FO configuration file for the Hibernate
+    Reference Documentation. It defines a custom titlepage and
+    the parameters for the A4 sized PDF printable output.
+    
+    It took me days to figure out this stuff and fix most of
+    the obvious bugs in the DocBook XSL distribution, so if you
+    use this stylesheet, give some credit back to the Hibernate
+    project.
+    
+    christian.bauer@bluemars.de
+-->
+
+<!DOCTYPE xsl:stylesheet [
+    <!ENTITY db_xsl_path        "../../docbook/">
+    <!ENTITY admon_gfx_path     "../../docbook/images">
+]>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0"
+                xmlns="http://www.w3.org/TR/xhtml1/transitional"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                exclude-result-prefixes="#default">
+                
+<xsl:import href="&db_xsl_path;/fo/docbook.xsl"/>
+
+<xsl:param name="draft.watermark.image" select="'&db_xsl_path;/images/draft.png'"/>
+
+<!--###################################################
+                   Custom Title Page
+    ################################################### --> 
+    
+    <xsl:template name="book.titlepage.recto">
+        <fo:block>
+            <fo:table table-layout="fixed" width="175mm">
+                <fo:table-column column-width="175mm"/>
+                <fo:table-body>
+                    <fo:table-row>
+                        <fo:table-cell text-align="center">
+                             <fo:block>
+                                <fo:external-graphic src="file:images/ibatisnet.gif"/>
+                            </fo:block> 
+                            <fo:block font-family="Helvetica" font-size="22pt" padding-before="10mm">
+                                <xsl:value-of select="bookinfo/subtitle"/> 
+                            </fo:block>
+                            <fo:block font-family="Helvetica" font-size="12pt" padding="10mm">
+                                <xsl:value-of select="bookinfo/releaseinfo"/>  
+                            </fo:block>
+                        </fo:table-cell>
+                    </fo:table-row>
+                    <fo:table-row>
+                        <fo:table-cell text-align="center">
+                            <fo:block font-family="Helvetica" font-size="14pt" padding="10mm">
+                                <xsl:value-of select="bookinfo/pubdate"/> 
+                            </fo:block>
+                        </fo:table-cell>
+                    </fo:table-row>
+                    <fo:table-row>
+                        <fo:table-cell text-align="center">
+                            <fo:block font-family="Helvetica" font-size="12pt" padding="10mm">
+                                <xsl:text>Copyright 2003-2005 The Apache Software Foundation</xsl:text>
+                            </fo:block>
+							 <fo:block font-family="Helvetica" font-size="12pt" padding="10mm">
+                                <xsl:text>Authors - </xsl:text>
+                                <xsl:for-each select="bookinfo/authorgroup/author">
+                                    <xsl:if test="position() > 1">
+                                        <xsl:text>, </xsl:text>
+                                    </xsl:if>
+                                    <xsl:value-of select="firstname"/>
+                                    <xsl:text> </xsl:text>
+                                    <xsl:value-of select="surname"/>
+                                </xsl:for-each>
+                            </fo:block>
+                            <fo:block font-family="Helvetica" font-size="10pt" padding="1mm">
+                                <xsl:value-of select="bookinfo/legalnotice"/>  
+                            </fo:block>
+                        </fo:table-cell>
+                    </fo:table-row>
+                </fo:table-body>
+            </fo:table>
+        </fo:block>
+    </xsl:template>
+
+    <!-- Prevent blank pages in output -->    
+    <xsl:template name="book.titlepage.before.verso">
+    </xsl:template>
+    <xsl:template name="book.titlepage.verso">
+    </xsl:template>
+    <xsl:template name="book.titlepage.separator">
+    </xsl:template>
+        
+<!--###################################################
+                      Header
+    ################################################### -->  
+
+    <!-- More space in the center header for long text -->
+    <xsl:attribute-set name="header.content.properties">
+        <xsl:attribute name="font-family">
+            <xsl:value-of select="$body.font.family"/>
+        </xsl:attribute>
+        <xsl:attribute name="margin-left">-5em</xsl:attribute>
+        <xsl:attribute name="margin-right">-5em</xsl:attribute>
+    </xsl:attribute-set>
+
+<!--###################################################
+                      Custom Footer
+    ################################################### -->     
+
+    <!-- This footer prints the iBATIS Framework version number on the left side -->
+    <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:choose>
+                <xsl:when test="//releaseinfo">
+                        <xsl:text>DataMapper Guide </xsl:text><xsl:value-of select="//releaseinfo"/>
+                </xsl:when>
+                <xsl:otherwise>
+                    <!-- nop -->
+                </xsl:otherwise>
+            </xsl:choose>
+        </xsl:variable>
+
+        <xsl:choose>
+            <xsl:when test="$sequence='blank'">
+            <xsl:choose>
+                <xsl:when test="$double.sided != 0 and $position = 'left'">
+                <xsl:value-of select="$Version"/>
+                </xsl:when>
+
+                <xsl:when test="$double.sided = 0 and $position = 'center'">
+                <!-- nop -->
+                </xsl:when>
+
+                <xsl:otherwise>
+                <fo:page-number/>
+                </xsl:otherwise>
+            </xsl:choose>
+            </xsl:when>
+
+            <xsl:when test="$pageclass='titlepage'">
+            <!-- nop: other titlepage sequences have no footer -->
+            </xsl:when>
+
+            <xsl:when test="$double.sided != 0 and $sequence = 'even' and $position='left'">
+            <fo:page-number/>
+            </xsl:when>
+
+            <xsl:when test="$double.sided != 0 and $sequence = 'odd' and $position='right'">
+            <fo:page-number/>
+            </xsl:when>
+
+            <xsl:when test="$double.sided = 0 and $position='right'">
+            <fo:page-number/>
+            </xsl:when>
+
+            <xsl:when test="$double.sided != 0 and $sequence = 'odd' and $position='left'">
+            <xsl:value-of select="$Version"/>
+            </xsl:when>
+
+            <xsl:when test="$double.sided != 0 and $sequence = 'even' and $position='right'">
+            <xsl:value-of select="$Version"/>
+            </xsl:when>
+
+            <xsl:when test="$double.sided = 0 and $position='left'">
+            <xsl:value-of select="$Version"/>
+            </xsl:when>
+
+            <xsl:otherwise>
+            <!-- nop -->
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>    
+    
+<!--###################################################
+                   Custom Toc Line
+    ################################################### -->
+    
+    <!-- The default DocBook XSL TOC printing is seriously broken... -->
+    <xsl:template name="toc.line">
+        <xsl:variable name="id">
+            <xsl:call-template name="object.id"/>
+        </xsl:variable>
+
+        <xsl:variable name="label">
+            <xsl:apply-templates select="." mode="label.markup"/>
+        </xsl:variable>
+
+        <!-- justify-end removed from block attributes (space problem in title.markup) -->
+        <fo:block  end-indent="{$toc.indent.width}pt"
+                   last-line-end-indent="-{$toc.indent.width}pt"
+                   white-space-treatment="preserve"
+                   text-align="left"
+                   white-space-collapse="false">
+            <fo:inline keep-with-next.within-line="always">
+                <!-- print Chapters in bold style -->
+                <xsl:choose>
+                    <xsl:when test="local-name(.) = 'chapter'">
+                        <xsl:attribute name="font-weight">bold</xsl:attribute>
+                    </xsl:when>
+                </xsl:choose>        
+                <fo:basic-link internal-destination="{$id}">
+                    <xsl:if test="$label != ''">
+                        <xsl:copy-of select="$label"/>
+                        <fo:inline white-space-treatment="preserve"
+                                    white-space-collapse="false">
+                            <xsl:value-of select="$autotoc.label.separator"/>
+                        </fo:inline>
+                    </xsl:if>
+                    <xsl:apply-templates select="." mode="title.markup"/>
+                </fo:basic-link>
+            </fo:inline>
+            <fo:inline keep-together.within-line="always">
+            <xsl:text> </xsl:text>
+            <fo:leader leader-pattern="dots"
+                        leader-pattern-width="3pt"
+                        leader-alignment="reference-area"
+                        keep-with-next.within-line="always"/>
+            <xsl:text> </xsl:text>
+            <fo:basic-link internal-destination="{$id}">
+                <fo:page-number-citation ref-id="{$id}"/>
+            </fo:basic-link>
+            </fo:inline>
+        </fo:block>
+    </xsl:template>
+    
+<!--###################################################
+                      Extensions
+    ################################################### -->  
+
+    <!-- These extensions are required for table printing and other stuff -->
+    <xsl:param name="use.extensions">1</xsl:param>
+    <xsl:param name="tablecolumns.extension">0</xsl:param>
+    <xsl:param name="callout.extensions">1</xsl:param>
+    <!-- FOP provide only PDF Bookmarks at the moment -->
+    <xsl:param name="fop.extensions">1</xsl:param>
+
+<!--###################################################
+                      Table Of Contents
+    ################################################### -->   
+
+    <!-- Generate the TOCs for named components only -->
+    <xsl:param name="generate.toc">
+        book   toc
+    </xsl:param>
+    
+    <!-- Show only Sections up to level 3 in the TOCs -->
+    <xsl:param name="toc.section.depth">2</xsl:param>
+    
+    <!-- Dot and Whitespace as separator in TOC between Label and Title-->
+    <xsl:param name="autotoc.label.separator" select="'.  '"/>
+
+        
+<!--###################################################
+                   Paper & Page Size
+    ################################################### -->  
+    
+    <!-- Paper type, no headers on blank pages, no double sided printing -->
+    <xsl:param name="paper.type" select="'A4'"/>
+    <xsl:param name="double.sided">0</xsl:param>
+    <xsl:param name="headers.on.blank.pages">0</xsl:param>
+    <xsl:param name="footers.on.blank.pages">0</xsl:param>
+
+    <!-- Space between paper border and content (chaotic stuff, don't touch) -->
+    <xsl:param name="page.margin.top">5mm</xsl:param>
+    <xsl:param name="region.before.extent">10mm</xsl:param>
+    <xsl:param name="body.margin.top">10mm</xsl:param>
+    
+    <xsl:param name="body.margin.bottom">15mm</xsl:param>
+    <xsl:param name="region.after.extent">10mm</xsl:param>
+    <xsl:param name="page.margin.bottom">0mm</xsl:param>
+    
+    <xsl:param name="page.margin.outer">18mm</xsl:param>
+    <xsl:param name="page.margin.inner">18mm</xsl:param>
+
+    <!-- No intendation of Titles -->
+    <xsl:param name="title.margin.left">0pc</xsl:param>
+
+<!--###################################################
+                   Fonts & Styles
+    ################################################### -->      
+
+    <!-- Justified text and no hyphenation -->
+    <xsl:param name="alignment">left</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>
+        <!-- alef: commented out because footnotes were screwed because of it -->
+        <!--<xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
+        <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
+        <xsl:attribute name="space-after.maximum">0.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>
+
+	<xsl:template match="emphasis[@role='comment']">
+	  <fo:inline color="green">
+		<xsl:apply-imports/>
+	  </fo:inline>
+	</xsl:template>
+
+	<!--  <fo:inline color="blue" font-weight="bold"> -->
+	<xsl:template match="emphasis[@role='blue']">
+	  <fo:inline color="blue">
+		<xsl:apply-imports/>
+	  </fo:inline>
+	</xsl:template>
+
+	<xsl:template match="emphasis[@role='cache']">
+	  <fo:inline color="#FF9900">
+		<xsl:apply-imports/>
+	  </fo:inline>
+	</xsl:template>
+
+	<xsl:template match="emphasis[@role='alias']">
+	  <fo:inline color="#FF0000">
+		<xsl:apply-imports/>
+	  </fo:inline>
+	</xsl:template>
+
+	<xsl:template match="emphasis[@role='parameterMap']">
+	  <fo:inline color="#800080">
+		<xsl:apply-imports/>
+	  </fo:inline>
+	</xsl:template>
+
+	<xsl:template match="emphasis[@role='resultmap']">
+	  <fo:inline color="#3366FF">
+		<xsl:apply-imports/>
+	  </fo:inline>
+	</xsl:template>
+
+   	<xsl:template match="emphasis[@role='statement']">
+	  <fo:inline color="#339966">
+		<xsl:apply-imports/>
+	  </fo:inline>
+	</xsl:template>
+
+   	<xsl:template match="emphasis[@role='new']">
+	  <fo:inline background-color="#FFCC99" border="0.5pt solid black">
+		<xsl:apply-imports/>
+	  </fo:inline>
+	</xsl:template>
+
+    <!-- Newer DocBook XSL apparently thinks that some sections are by
+         default "draft" status, and this idiotic thing is by default
+         also set to "maybe", so it spits out a lot of errors with the
+         latest FOP as the XSL/FO styles have references to some draft
+         watermarks, which you actually don't want in the first place.
+         Turn this crap off. If you have to work with the "status"
+         attribute, don't.
+    -->
+    <xsl:param name="draft.mode" select="'no'"/>
+
+    <!-- Format Header table 
+	<xsl:template match="thead">
+		<xsl:variable name="tgroup" select="parent::*"/>
+	 
+		  <fo:table-header>
+			<xsl:attribute name="background-color">#E0E0E0</xsl:attribute>
+			<xsl:attribute name="font-weight">bold</xsl:attribute>
+			<xsl:attribute name="border-left-color">#000000</xsl:attribute>
+			<xsl:attribute name="border-right-color">#000000</xsl:attribute>
+			<xsl:attribute name="border-top-color">#000000</xsl:attribute>
+			<xsl:apply-templates select="row[1]">
+			  <xsl:with-param name="spans">
+				<xsl:call-template name="blank.spans">
+				  <xsl:with-param name="cols" select="../@cols"/>
+				</xsl:call-template>
+			  </xsl:with-param>
+			</xsl:apply-templates>
+		  </fo:table-header>
+	</xsl:template>-->
+
+
+
+</xsl:stylesheet>

Added: ibatis/trunk/cs/V3/docs/dataMapperGuide/styles/html.css
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/dataMapperGuide/styles/html.css?rev=682456&view=auto
==============================================================================
--- ibatis/trunk/cs/V3/docs/dataMapperGuide/styles/html.css (added)
+++ ibatis/trunk/cs/V3/docs/dataMapperGuide/styles/html.css Mon Aug  4 11:43:42 2008
@@ -0,0 +1,252 @@
+body { 
+    background: #FFFFFF; 
+	font-family: sans-serif; 
+	scrollbar-arrow-color: #000000;
+	scrollbar-base-color: #003300;
+	scrollbar-dark-shadow-color: #999900;
+	scrollbar-track-color: #808080;
+	scrollbar-face-color: #DEDEDE;
+	scrollbar-shadow-color: #DDDDDD;
+	scrollbar-highlight-color: #CCCCCC;
+	scrollbar-3d-light-color: #003300;
+}
+
+
+A:link{COLOR: #5E741C; TEXT-DECORATION: underline;}
+A:visited{COLOR: #5E741C; TEXT-DECORATION: underline;}
+A:hover{COLOR: #FF6600; TEXT-DECORATION: underline;}
+
+P, DL, DT, DD, BLOCKQUOTE {
+    color: #000000;
+    margin-bottom: 3px;
+    margin-top: 3px;
+    padding-top: 0px;
+    text-align: left;
+    /*border: 1px solid black;*/
+}
+
+OL, UL, P {
+    margin-top: 6px;
+    margin-bottom: 6px;
+}
+
+P, BLOCKQUOTE {
+    font-size: 90%;
+}
+
+P.releaseinfo {
+    font-size: 120%; font-weight: bold; 
+    font-family: Arial, helvetica, sans-serif;
+    padding-top: 10px;
+}
+
+P.pubdate {
+    font-size: 120%; font-weight: bold; 
+    font-family: Arial, helvetica, sans-serif;
+}
+
+
+
+TD, SPAN {
+    color: #000000;
+}
+
+BLOCKQUOTE {
+    margin-right: 0px;
+}
+
+H1, H2, H3, H4, H5, H6    {
+    margin-top:0px;
+    padding-top:14px;
+    font-family: Arial, helvetica, sans-serif;
+    margin-bottom: 0px;
+}
+
+H2.title {
+    font-weight:800;
+    margin-bottom: 8px;
+}
+
+H2.subtitle {
+    font-weight:800;
+    margin-bottom: 20px;
+}
+
+H3.author {
+    color: #000000;
+    font-weight:500;
+    margin-top:0px;
+    padding-top:0px;
+    font-family: Arial, helvetica, sans-serif;
+    margin-bottom: 0px;
+}
+
+TABLE  {
+    border-collapse: collapse;
+    border: 1px thin #eeeeee;
+    empty-cells: hide;
+	border-style : groove;
+	border-spacing: 0px;
+}
+
+TH {
+    background-color: #EBEBEC;
+}
+
+td {
+border : 2px; 
+border-color : #eeeeee; 
+border-style : groove;
+border-spacing: 0px;
+font-size: 80%;
+ padding: 4pt;
+}
+
+
+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: 90%;
+    font-family: "Courier New", Courier, monospace;
+    color: #000000;
+}
+
+.navheader, .navfooter {    
+    background-color: #ffffff;
+}
+.navheader TABLE {    
+    background-color: #D4D5D8;
+}
+.navheader th {    
+    background-color: #D4D5D8;
+}
+.navheader td {    
+    border : 0px; 
+}
+.navfooter TABLE {    
+    background-color: #D4D5D8;
+}
+.navfooter th {    
+    background-color: #D4D5D8;
+}
+.navfooter td {    
+    border : 0px; 
+}
+
+PRE {
+    font-size: 90%;
+    padding: 5px;
+    border-style: solid;
+    border-width: 1px;
+    border-color: #CCCCCC;
+    background-color: #F4F4F4;
+}
+
+UL, OL, LI {
+    list-style: disc;
+}
+
+HR  {
+    width: 100%;
+    height: 1px;
+    background-color: #CCCCCC;
+    border-width: 0px;
+    padding: 0px;
+    color: #CCCCCC;
+}
+
+.variablelist { 
+    padding-top: 10; 
+    padding-bottom:10; 
+    margin:0;
+}
+
+/*(.itemizedlist, UL { 
+    padding-top: 0; 
+    padding-bottom:0; 
+    margin:0; 
+}*/
+
+.term { 
+    font-weight:bold;
+}
+
+.mediaobject {
+    padding-top: 30px; 
+    padding-bottom: 30px; 
+}
+
+.legalnotice {
+    font-size: 70%;
+}
+  
+
+.sidebar {
+	background-color: #E5ECF9;
+	padding: 0.25cm;
+}
+
+.programlisting {
+    font-family: courier;
+    font-size: 11px;
+    font-weight: normal;
+    font-family: Lucida Console, monospace;
+    background-color: #EEEEEE;
+    padding: 0.25cm;
+    border-style: solid;
+    border-width: 1px;
+    border-color: #CCCCCC
+ }
+
+.comment {
+	color: #008000;
+}
+
+.blue {
+	color: #0000FF;
+}
+
+.cache {
+	color: #FF9900;
+}
+
+.alias {
+	color: #FF0000;
+}
+
+.parameterMap {
+	color: #800080;
+}
+
+.resultmap {
+	color: #3366FF;
+}
+
+.statement {
+	color: #339966;
+}
+.new {
+   border:thin solid black;
+	background-color:#FFF09E
+}
+.updated {
+    border:thin solid black;
+	background-color:#33FF33
+}
\ No newline at end of file

Added: ibatis/trunk/cs/V3/docs/dataMapperGuide/styles/html.xsl
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/dataMapperGuide/styles/html.xsl?rev=682456&view=auto
==============================================================================
--- ibatis/trunk/cs/V3/docs/dataMapperGuide/styles/html.xsl (added)
+++ ibatis/trunk/cs/V3/docs/dataMapperGuide/styles/html.xsl Mon Aug  4 11:43:42 2008
@@ -0,0 +1,69 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+	<xsl:import href="../../docbook/htmlhelp/htmlhelp.xsl"/>
+
+<!--###################################################
+                     HTML Settings
+    ################################################### -->  
+	<xsl:param name="html.stylesheet" select="'html.css'"/>
+
+    <!-- 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">5</xsl:param>
+    <xsl:param name="generate.index" select="1"></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="admon.graphics" select="1"/>
+	<xsl:param name="admon.graphics.path">images/</xsl:param>
+    
+    <!-- Place callout marks at this column in annotated areas -->
+    <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:param name="generate.legalnotice.link" select="1"/>
+	<xsl:param name="suppress.navigation" select="0"/>
+
+	<xsl:param name="htmlhelp.hhc.binary" select="0"/>
+	<xsl:param name="htmlhelp.hhc.folders.instead.books" select="0"/>
+	<xsl:param name="htmlhelp.chm" select="'doc.chm'"/>
+
+</xsl:stylesheet>
\ No newline at end of file

Added: ibatis/trunk/cs/V3/docs/doc.build
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/doc.build?rev=682456&view=auto
==============================================================================
--- ibatis/trunk/cs/V3/docs/doc.build (added)
+++ ibatis/trunk/cs/V3/docs/doc.build Mon Aug  4 11:43:42 2008
@@ -0,0 +1,226 @@
+<?xml version="1.0" ?>
+<project name="iBATIS.NET reference" default="refDoc" >
+
+	<property name="project.dao.version" value="1.9.1" unless="${property::exists('project.dao.version')}" />
+	<property name="project.sqlMap.version" value="1.6.1" unless="${property::exists('project.sqlMap.version')}" />
+
+	<property name="project.name" value="Data Access Guide" />
+
+	<!-- docbook libraries and dependencies -->
+	<property name="docbook.lib.dir" value="docbook" />
+	<!-- xsltproc libraries and dependencies -->
+	<property name="xsltproc.lib.dir" value="xsltproc" />
+	<!-- fop libraries and dependencies -->
+	<property name="fop.lib.dir" value="fop" />
+
+	<!-- The current Guide -->
+	<property name="guide.dir" value="dataAccessGuide" />
+
+	<!-- the current language  -->	
+	<property name="src.lang" value="en" />
+	<property name="xml.src.dir" value="${guide.dir}/src/${src.lang}" />
+	<property name="style.src.dir" value="${guide.dir}/styles" />
+
+	<!-- ******************************* -->
+	<!-- docbook reference documentation -->
+	<!-- ******************************* -->
+	<property name="doc.output.dir" value="output" />
+	<!-- reference docbook source base directory -->	
+	<property name="doc.ref.dir" value="reference" />
+	<!-- reference docbook output base directory -->
+	<property name="doc.ref.output.dir" value="${doc.output.dir}" />
+
+	<!-- the main source code directory for the iBATIS.NET codebase  -->	
+	<property name="src.dir" value="../mapper" />
+
+	<target name="clean" description="Delete output and temporary directories.">
+		<delete dir="${doc.output.dir}" failonerror="false"/>
+	</target>
+
+	<target name="refDoc" depends="clean, daoDoc, sqlMapDoc" description="Generate iBATIS.NET documentation" />
+
+	<target name="daoDoc" description="Generate DataAccess documentation">
+		<property name="project.name" value="Data Access Guide" />
+		<property name="project.version" value="${project.dao.version}" />
+		<property name="guide.dir" value="dataAccessGuide" />
+
+		<property name="xml.src.dir" value="${guide.dir}/src/${src.lang}" />
+		<property name="style.src.dir" value="${guide.dir}/styles" />
+
+ 		<call target="prepareDaoDocs" />
+		<call target="docHtmlHelp" />
+		<call target="docPDF" />
+	</target>
+
+	<target name="sqlMapDoc" description="Generate DataMapper documentation">
+		<property name="project.name" value="Data Mapper Guide" />
+		<property name="project.version" value="${project.sqlMap.version}" />
+		<property name="guide.dir" value="dataMapperGuide" />
+	
+		<property name="xml.src.dir" value="${guide.dir}/src/${src.lang}" />
+		<property name="style.src.dir" value="${guide.dir}/styles" />
+
+		<call target="prepareSqlMapDocs" />
+		<call target="docHtmlHelp" />
+		<call target="docPDF" />
+	</target>
+
+	<target name="tutorialDoc" description="Generate DataMapper tutorial">
+		<property name="project.name" value="Data Mapper tutorial" />
+		<property name="project.version" value="${project.sqlMap.version}" />
+		<property name="guide.dir" value="tutorial" />
+	
+		<property name="xml.src.dir" value="${guide.dir}/src/${src.lang}" />
+		<property name="style.src.dir" value="${guide.dir}/styles" />
+
+		<call target="docHtmlHelp" />
+		<call target="docPDF" />
+	</target>
+
+	<target name="docHTML" depends="prepareDocsHTML" description="Build reference documentation to html">
+
+		<exec program="${xsltproc.lib.dir}/xsltproc.exe" 
+		 failonerror="false"
+		 commandline="--nonet ${style.src.dir}/html.xsl ${xml.src.dir}/index.xml -o ${doc.ref.output.dir}/${guide.dir}/${src.lang}/html/" />
+
+		<!-- copy dev guide images -->
+		<copy todir="${doc.ref.output.dir}/${guide.dir}/${src.lang}/html/images">
+		  <fileset basedir="${xml.src.dir}/images/">
+			<include name="*.gif"/>
+			<include name="*.svg"/>
+			<include name="*.jpg"/>
+			<include name="*.png"/>
+		  </fileset>
+		</copy>
+
+		<!-- copy docBook images -->
+		<copy todir="${doc.ref.output.dir}/${guide.dir}/${src.lang}/html/images">
+		  <fileset basedir="${docbook.lib.dir}/images">
+			<include name="**/*.gif"/>
+			<include name="**/*.png"/>
+		  </fileset>
+		</copy>
+	</target>
+
+	<target name="docHtmlHelp" depends="docHTML" description="Build reference documentation to MS HTML-HELP">
+		<mkdir dir="${doc.ref.output.dir}/${guide.dir}/${src.lang}/htmlhelp" />
+
+		<!-- Build CHM guide  -->
+		<exec program="hhc.exe" 
+		failonerror="false"
+		commandline="${doc.ref.output.dir}/${guide.dir}/${src.lang}/html/htmlhelp.hhp" />
+
+		<!-- Copy CHM guide  -->
+		<copy 
+		file="${doc.ref.output.dir}/${guide.dir}/${src.lang}/html/doc.chm" 
+		tofile="${doc.ref.output.dir}/${guide.dir}/${src.lang}/htmlhelp/${project.name}-${project.version}.chm">
+		</copy>
+
+		<!-- remove temp files -->
+        <delete>
+            <fileset basedir="${doc.ref.output.dir}/${guide.dir}/${src.lang}/html/">
+                <!-- remove test files -->
+                <include name="*.hhc" />
+				<include name="*.chm" />
+				<include name="*.hhp" />
+            </fileset>
+        </delete>
+  </target>
+
+
+	<target name="docPDF" description="Compile reference documentation to pdf">
+		
+		<!-- copy dev guide images -->
+		<copy todir="${doc.ref.output.dir}/${guide.dir}/${src.lang}/pdf/images">
+		  <fileset basedir="${xml.src.dir}/images/">
+			<include name="*.gif"/>
+			<include name="*.svg"/>
+			<include name="*.jpg"/>
+			<include name="*.png"/>
+		  </fileset>
+		</copy>
+
+		<!-- copy docBook images -->
+		<copy todir="${doc.ref.output.dir}/${guide.dir}/${src.lang}/html/images">
+		  <fileset basedir="${docbook.lib.dir}/images">
+			<include name="**/*.gif"/>
+			<include name="**/*.png"/>
+		  </fileset>
+		</copy>
+
+	   	<exec program="${xsltproc.lib.dir}/xsltproc.exe" 
+		 failonerror="false"
+		 commandline="--nonet ${style.src.dir}/fopdf.xsl ${xml.src.dir}/index.xml -o ${doc.ref.output.dir}/${guide.dir}/${src.lang}/pdf/${guide.dir}_temp.fo" />
+
+	   	<exec program="${fop.lib.dir}/fop.bat" 
+		 failonerror="false"
+		 commandline="${doc.ref.output.dir}/${guide.dir}/${src.lang}/pdf/${guide.dir}_temp.fo ${doc.ref.output.dir}/${guide.dir}/${src.lang}/pdf/${guide.dir}.pdf" />
+
+		<copy file="${doc.ref.output.dir}/${guide.dir}/${src.lang}/pdf/${guide.dir}.pdf" tofile="${doc.ref.output.dir}/${guide.dir}/${src.lang}/pdf/${project.name}-${project.version}.pdf" />
+
+		<!-- remove temp files/dir -->
+		<delete dir="${doc.ref.output.dir}/${guide.dir}/${src.lang}/pdf/images" failonerror="false"/>
+		<delete file="${doc.ref.output.dir}/${guide.dir}/${src.lang}/pdf/${guide.dir}.pdf" failonerror="false"/>
+		<delete file="${doc.ref.output.dir}/${guide.dir}/${src.lang}/pdf/${guide.dir}_temp.fo" failonerror="false"/>
+
+	</target>
+
+	<!-- Extra preparation for HTML documentation -->
+	<target name="prepareDocsHTML">
+		<mkdir dir="${doc.ref.output.dir}/${guide.dir}/${src.lang}/html" />
+		<copy file="${style.src.dir}/html.css"
+		todir="${doc.ref.output.dir}/${guide.dir}/${src.lang}/html"/>
+	</target>
+	
+
+	<!-- Extra preparation for dao documentation (common to all formats)-->
+	<target name="prepareDaoDocs" description="Extra preparation for the dao documentation (common to all formats)">
+		<delete file="${xml.src.dir}/xsd.xml" failonerror="false"/>
+
+		<loadfile property="doc.dao.schema" file="${src.dir}/IBatisNet.DataAccess/DaoConfig.xsd" />
+
+		<copy file="${xml.src.dir}/xsd-template.xml" tofile="${xml.src.dir}/xsd.xml" >
+			<filterchain>
+				<replacestring from="@xsd-include@" to="${doc.dao.schema}"/>
+			</filterchain>
+		</copy> 
+	</target>
+
+ 	<!-- Extra preparation for SqlMap documentation (common to all formats)-->
+	<target name="prepareSqlMapDocs" description="Extra preparation for the SqlMap documentation (common to all formats)">
+		<delete file="${xml.src.dir}/xsd-config.xml" failonerror="false"/>
+ 		<delete file="${xml.src.dir}/xsd-sqlMap.xml" failonerror="false"/>
+
+		<loadfile property="doc.config.schema" file="${src.dir}/IBatisNet.DataMapper/SqlMapConfig.xsd" />
+ 		<loadfile property="doc.sqlMap.schema" file="${src.dir}/IBatisNet.DataMapper/SqlMap.xsd" />
+
+		<copy file="${xml.src.dir}/xsd-config-template.xml" tofile="${xml.src.dir}/xsd-config.xml" >
+			<filterchain>
+				<replacestring from="@xsd-include@" to="${doc.config.schema}"/>
+			</filterchain>
+		</copy> 
+		<copy file="${xml.src.dir}/xsd-sqlMap-template.xml" tofile="${xml.src.dir}/xsd-sqlMap.xml" >
+			<filterchain>
+				<replacestring from="@xsd-include@" to="${doc.sqlMap.schema}"/>
+			</filterchain>
+		</copy> 
+	</target>
+
+<!--
+    
+  copies content common to all docs to the dir in the ${doc.type.output.dir} property
+ 
+  <target name="copycommoncontent">
+    <mkdir dir="${doc.type.output.dir}"/>
+    <copy todir="${doc.type.output.dir}">
+      <fileset dir="${basedir}/${doc.ref.dir}/src/images">
+        <include name="*.gif"/>
+        <include name="*.svg"/>
+        <include name="*.jpg"/>
+        <include name="*.png"/>
+      </fileset>
+    </copy>
+  </target>
+	
+ -->
+</project>

Added: ibatis/trunk/cs/V3/docs/docbook/readme.txt
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/docbook/readme.txt?rev=682456&view=auto
==============================================================================
--- ibatis/trunk/cs/V3/docs/docbook/readme.txt (added)
+++ ibatis/trunk/cs/V3/docs/docbook/readme.txt Mon Aug  4 11:43:42 2008
@@ -0,0 +1,3 @@
+This directory is where we'll hold the Docbook reference libraries and DTD(Document Type Definition).
+
+ http://www.docbook.org

Added: ibatis/trunk/cs/V3/docs/favicon.ico
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/favicon.ico?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/favicon.ico
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/fop/readme.txt
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/fop/readme.txt?rev=682456&view=auto
==============================================================================
--- ibatis/trunk/cs/V3/docs/fop/readme.txt (added)
+++ ibatis/trunk/cs/V3/docs/fop/readme.txt Mon Aug  4 11:43:42 2008
@@ -0,0 +1,11 @@
+This directory is where we'll hold the Fop libraries.
+
+FOP(Formatting Objects Processor) is used to transform FO files to files of other formats. 
+In this tutorial it is used to transform FO output produced by xsltproc into PDF 
+which is a well known format considered by many to be aesthetically pleasing. 
+The Unix and Windows installation paths are very similar, the differences 
+will be mentioned where appropriate. 
+
+Download the latest version of the Fop application, from http://xml.apache.org/fop/. 
+
+

Added: ibatis/trunk/cs/V3/docs/skin/breadcrumbs-optimized.js
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/breadcrumbs-optimized.js?rev=682456&view=auto
==============================================================================
--- ibatis/trunk/cs/V3/docs/skin/breadcrumbs-optimized.js (added)
+++ ibatis/trunk/cs/V3/docs/skin/breadcrumbs-optimized.js Mon Aug  4 11:43:42 2008
@@ -0,0 +1,67 @@
+var PREPREND_CRUMBS=new Array();
+PREPREND_CRUMBS.push(new Array("Apache","http://www.apache.org/"));
+PREPREND_CRUMBS.push(new Array("Jakarta","http://jakarta.apache.org/"));
+var DISPLAY_SEPARATOR=" &gt; ";
+var DISPLAY_PREPREND="";
+var DISPLAY_POSTPREND=":";
+var CSS_CLASS_CRUMB="breadcrumb";
+var CSS_CLASS_TRAIL="breadcrumbTrail";
+var CSS_CLASS_SEPARATOR="crumbSeparator";
+var FILE_EXTENSIONS=new Array( ".html", ".htm", ".jsp", ".php", ".php3", ".php4" );
+var PATH_SEPARATOR="/";
+
+function sc(s) {
+	var l=s.toLowerCase();
+	return l.substr(0,1).toUpperCase()+l.substr(1);
+}
+function getdirs() {
+	var t=document.location.pathname.split(PATH_SEPARATOR);
+	var lc=t[t.length-1];
+	for(var i=0;i < FILE_EXTENSIONS.length;i++)
+	{
+		if(lc.indexOf(FILE_EXTENSIONS[i]))
+			return t.slice(1,t.length-1); }
+	return t.slice(1,t.length);
+}
+function getcrumbs( d )
+{
+	var pre = "/";
+	var post = "/";
+	var c = new Array();
+	if( d != null )
+	{
+		for(var i=0;i < d.length;i++) {
+			pre+=d[i]+postfix;
+			c.push(new Array(d[i],pre)); }
+	}
+	if(PREPREND_CRUMBS.length > 0 )
+		return PREPREND_CRUMBS.concat( c );
+	return c;
+}
+function gettrail( c )
+{
+	var h=DISPLAY_PREPREND;
+	for(var i=0;i < c.length;i++)
+	{
+		h+='<a href="'+c[i][1]+'" >'+sc(c[i][0])+'</a>';
+		if(i!=(c.length-1))
+			h+=DISPLAY_SEPARATOR; }
+	return h+DISPLAY_POSTPREND;
+}
+
+function gettrailXHTML( c )
+{
+	var h='<span class="'+CSS_CLASS_TRAIL+'">'+DISPLAY_PREPREND;
+	for(var i=0;i < c.length;i++)
+	{
+		h+='<a href="'+c[i][1]+'" class="'+CSS_CLASS_CRUMB+'">'+sc(c[i][0])+'</a>';
+		if(i!=(c.length-1))
+			h+='<span class="'+CSS_CLASS_SEPARATOR+'">'+DISPLAY_SEPARATOR+'</span>'; }
+	return h+DISPLAY_POSTPREND+'</span>';
+}
+
+if(document.location.href.toLowerCase().indexOf("http://")==-1)
+	document.write(gettrail(getcrumbs()));
+else
+	document.write(gettrail(getcrumbs(getdirs())));
+

Added: ibatis/trunk/cs/V3/docs/skin/breadcrumbs.js
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/breadcrumbs.js?rev=682456&view=auto
==============================================================================
--- ibatis/trunk/cs/V3/docs/skin/breadcrumbs.js (added)
+++ ibatis/trunk/cs/V3/docs/skin/breadcrumbs.js Mon Aug  4 11:43:42 2008
@@ -0,0 +1,267 @@
+/*
+
+ ============================================================================
+                   The Apache Software License, Version 1.1
+ ============================================================================
+
+ Copyright (C) 2004 The Apache Software Foundation. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without modifica-
+ tion, are permitted provided that the following conditions are met:
+
+ 1. Redistributions of  source code must  retain the above copyright  notice,
+    this list of conditions and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright notice,
+    this list of conditions and the following disclaimer in the documentation
+    and/or other materials provided with the distribution.
+
+ 3. The end-user documentation included with the redistribution, if any, must
+    include  the following  acknowledgment:  "This product includes  software
+    developed  by the  Apache Software Foundation  (http://www.apache.org/)."
+    Alternately, this  acknowledgment may  appear in the software itself,  if
+    and wherever such third-party acknowledgments normally appear.
+
+ 4. The names "Apache Forrest" and "Apache Software Foundation"
+    must not be used to endorse or promote products derived from this  software
+    without  prior written permission. For written permission, please contact
+    apache@apache.org.
+
+ 5. Products  derived from this software may not  be called "Apache", nor may
+    "Apache" appear  in their name,  without prior written permission  of the
+    Apache Software Foundation.
+
+ THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ FITNESS  FOR A PARTICULAR  PURPOSE ARE  DISCLAIMED.  IN NO  EVENT SHALL  THE
+ APACHE SOFTWARE  FOUNDATION  OR ITS CONTRIBUTORS  BE LIABLE FOR  ANY DIRECT,
+ INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLU-
+ DING, BUT NOT LIMITED TO, PROCUREMENT  OF SUBSTITUTE GOODS OR SERVICES; LOSS
+ OF USE, DATA, OR  PROFITS; OR BUSINESS  INTERRUPTION)  HOWEVER CAUSED AND ON
+ ANY  THEORY OF LIABILITY,  WHETHER  IN CONTRACT,  STRICT LIABILITY,  OR TORT
+ (INCLUDING  NEGLIGENCE OR  OTHERWISE) ARISING IN  ANY WAY OUT OF THE  USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+ 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/>.
+
+*/
+
+/**
+ * This script, when included in a html file, builds a neat breadcrumb trail
+ * based on its url. That is, if it doesn't contains bugs (I'm relatively
+ * sure it does).
+ *
+ * Typical usage:
+ * <script type="text/javascript" language="JavaScript" src="breadcrumbs.js"></script>
+ *
+ *@author     <a href="mailto:leosimons@apache.org">Leo Simons</a> (main author)
+ *@author     <a href="mailto:nicolaken@apache.org">Nicola Ken Barozzi</a> (integration in skin)
+ *@created    July 12, 2002
+ *@version    1.0
+ */
+
+/**
+ * IE 5 on Mac doesn't know Array.push.
+ *
+ * Implement it - courtesy to fritz.
+ */
+var abc	= new Array();
+if (!abc.push) {
+  Array.prototype.push	= function(what){this[this.length]=what}
+}
+
+/* ========================================================================
+	CONSTANTS
+   ======================================================================== */
+
+/**
+ * Two-dimensional array containing extra crumbs to place at the front of
+ * the trail. Specify first the name of the crumb, then the URI that belongs
+ * to it. You'll need to modify this for every domain or subdomain where
+ * you use this script (you can leave it as an empty array if you wish)
+ */
+var PREPREND_CRUMBS = new Array();
+   if(!(""=="")){
+     PREPREND_CRUMBS.push( new Array( "", "" ) );
+   }
+   if(!(""=="")){
+     PREPREND_CRUMBS.push( new Array( "", "" ) );
+   }
+   if(!(""=="")){
+     PREPREND_CRUMBS.push( new Array( "", "" ) );
+   }
+
+/**
+ * String to include between crumbs:
+ */
+var DISPLAY_SEPARATOR = " &gt; ";
+/**
+ * String to include at the beginning of the trail
+ */
+var DISPLAY_PREPREND = "";
+/**
+ * String to include at the end of the trail
+ */
+var DISPLAY_POSTPREND = "";
+
+/**
+ * CSS Class to use for a single crumb:
+ */
+var CSS_CLASS_CRUMB = "breadcrumb";
+
+/**
+ * CSS Class to use for the complete trail:
+ */
+var CSS_CLASS_TRAIL = "breadcrumbTrail";
+
+/**
+ * CSS Class to use for crumb separator:
+ */
+var CSS_CLASS_SEPARATOR = "crumbSeparator";
+
+/**
+ * Array of strings containing common file extensions. We use this to
+ * determine what part of the url to ignore (if it contains one of the
+ * string specified here, we ignore it).
+ */
+var FILE_EXTENSIONS = new Array( ".html", ".htm", ".jsp", ".php", ".php3", ".php4" );
+
+/**
+ * String that separates parts of the breadcrumb trail from each other.
+ * When this is no longer a slash, I'm sure I'll be old and grey.
+ */
+var PATH_SEPARATOR = "/";
+
+/* ========================================================================
+	UTILITY FUNCTIONS
+   ======================================================================== */
+/**
+ * Capitalize first letter of the provided string and return the modified
+ * string.
+ */
+function sentenceCase( string )
+{        return string;
+	//var lower = string.toLowerCase();
+	//return lower.substr(0,1).toUpperCase() + lower.substr(1);
+}
+
+/**
+ * Returns an array containing the names of all the directories in the
+ * current document URL
+ */
+function getDirectoriesInURL()
+{
+	var trail = document.location.pathname.split( PATH_SEPARATOR );
+
+	// check whether last section is a file or a directory
+	var lastcrumb = trail[trail.length-1];
+	for( var i = 0; i < FILE_EXTENSIONS.length; i++ )
+	{
+		if( lastcrumb.indexOf( FILE_EXTENSIONS[i] ) )
+		{
+			// it is, remove it and send results
+			return trail.slice( 1, trail.length-1 );
+		}
+	}
+
+	// it's not; send the trail unmodified
+	return trail.slice( 1, trail.length );
+}
+
+/* ========================================================================
+	BREADCRUMB FUNCTIONALITY
+   ======================================================================== */
+/**
+ * Return a two-dimensional array describing the breadcrumbs based on the
+ * array of directories passed in.
+ */
+function getBreadcrumbs( dirs )
+{
+	var prefix = "/";
+	var postfix = "/";
+
+	// the array we will return
+	var crumbs = new Array();
+
+	if( dirs != null )
+	{
+		for( var i = 0; i < dirs.length; i++ )
+		{
+			prefix += dirs[i] + postfix;
+			crumbs.push( new Array( dirs[i], prefix ) );
+		}
+	}
+
+	// preprend the PREPREND_CRUMBS
+	if(PREPREND_CRUMBS.length > 0 )
+	{
+		return PREPREND_CRUMBS.concat( crumbs );
+	}
+
+	return crumbs;
+}
+
+/**
+ * Return a string containing a simple text breadcrumb trail based on the
+ * two-dimensional array passed in.
+ */
+function getCrumbTrail( crumbs )
+{
+	var xhtml = DISPLAY_PREPREND;
+
+	for( var i = 0; i < crumbs.length; i++ )
+	{
+		xhtml += '<a href="' + crumbs[i][1] + '" >';
+		xhtml += unescape( crumbs[i][0] ) + '</a>';
+		if( i != (crumbs.length-1) )
+		{
+			xhtml += DISPLAY_SEPARATOR;
+		}
+	}
+
+	xhtml += DISPLAY_POSTPREND;
+
+	return xhtml;
+}
+
+/**
+ * Return a string containing an XHTML breadcrumb trail based on the
+ * two-dimensional array passed in.
+ */
+function getCrumbTrailXHTML( crumbs )
+{
+	var xhtml = '<span class="' + CSS_CLASS_TRAIL  + '">';
+	xhtml += DISPLAY_PREPREND;
+
+	for( var i = 0; i < crumbs.length; i++ )
+	{
+		xhtml += '<a href="' + crumbs[i][1] + '" class="' + CSS_CLASS_CRUMB + '">';
+		xhtml += unescape( crumbs[i][0] ) + '</a>';
+		if( i != (crumbs.length-1) )
+		{
+			xhtml += '<span class="' + CSS_CLASS_SEPARATOR + '">' + DISPLAY_SEPARATOR + '</span>';
+		}
+	}
+
+	xhtml += DISPLAY_POSTPREND;
+	xhtml += '</span>';
+
+	return xhtml;
+}
+
+/* ========================================================================
+	PRINT BREADCRUMB TRAIL
+   ======================================================================== */
+
+// check if we're local; if so, only print the PREPREND_CRUMBS
+if( document.location.href.toLowerCase().indexOf( "http://" ) == -1 )
+{
+	document.write( getCrumbTrail( getBreadcrumbs() ) );
+}
+else
+{
+	document.write( getCrumbTrail( getBreadcrumbs( getDirectoriesInURL() ) ) );
+}
+

Added: ibatis/trunk/cs/V3/docs/skin/images/chapter.gif
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/images/chapter.gif?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/skin/images/chapter.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/skin/images/chapter_open.gif
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/images/chapter_open.gif?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/skin/images/chapter_open.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/skin/images/current.gif
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/images/current.gif?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/skin/images/current.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/skin/images/doc.gif
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/images/doc.gif?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/skin/images/doc.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/skin/images/favicon.ico
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/images/favicon.ico?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/skin/images/favicon.ico
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/skin/images/label.gif
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/images/label.gif?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/skin/images/label.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/skin/images/menu-left.gif
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/images/menu-left.gif?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/skin/images/menu-left.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/skin/images/menu-right.gif
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/images/menu-right.gif?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/skin/images/menu-right.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/skin/images/page.gif
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/images/page.gif?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/skin/images/page.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/skin/images/pdfdoc.gif
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/images/pdfdoc.gif?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/skin/images/pdfdoc.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/skin/images/printer.gif
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/images/printer.gif?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/skin/images/printer.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/skin/images/search-left.gif
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/images/search-left.gif?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/skin/images/search-left.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/skin/images/search-right.gif
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/images/search-right.gif?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/skin/images/search-right.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/skin/images/singlepage.gif
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/images/singlepage.gif?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/skin/images/singlepage.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/skin/images/spacer.gif
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/images/spacer.gif?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/skin/images/spacer.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/skin/images/tab-left.gif
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/images/tab-left.gif?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/skin/images/tab-left.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/skin/images/tab-right.gif
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/images/tab-right.gif?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/skin/images/tab-right.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/skin/images/tabSel-left.gif
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/images/tabSel-left.gif?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/skin/images/tabSel-left.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/skin/images/tabSel-right.gif
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/images/tabSel-right.gif?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/skin/images/tabSel-right.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/skin/images/valid-html401.png
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/images/valid-html401.png?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/skin/images/valid-html401.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/skin/images/vcss.png
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/images/vcss.png?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/skin/images/vcss.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/skin/images/xmldoc.gif
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/images/xmldoc.gif?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/skin/images/xmldoc.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/skin/page.css
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/skin/page.css?rev=682456&view=auto
==============================================================================
--- ibatis/trunk/cs/V3/docs/skin/page.css (added)
+++ ibatis/trunk/cs/V3/docs/skin/page.css Mon Aug  4 11:43:42 2008
@@ -0,0 +1,71 @@
+body {  background-color: #FFFFFF; margin: 0px 0px 0px 0px; font-family: Verdana, Helvetica, sans-serif;  font-size : 100%;  }
+
+a:link { color: #0F3660; }
+a:visited { color: #009999; }
+a:active { color: #000066; }
+a:hover { color: #000066; }
+
+img { border: 0; }
+
+.menu { background-color: #4C6C8F; margin: 0px; padding: 3px 8px 5px 3px;  font-size : 90%;  }
+.menu a:link { color: #FFFFFF;  text-decoration : none;  }
+.menu a:visited { color: #FFFFFF; text-decoration : none; }
+.menu a:hover { color: #FFCC00; text-decoration : none; }
+.menu ul { margin: 0px 0px 0px 20px; padding: 0px; }
+.menu li  { list-style-image: url('images/label.gif'); font-weight : bold; }
+.menu ul ul li .sel { list-style-image: url('images/current.gif'); font-weight : normal; }
+.menu ul ul li  { list-style-image: url('images/page.gif'); font-weight : normal; }
+
+.menu .base-seleted {color: #000000; }
+.menu .base-not-selected { font-family: Verdana, Helvetica, sans-serif; }
+
+.tab { font-size : 85%; border: 0 }
+.tab a:link {   text-decoration : none;  }
+.tab a:visited { text-decoration : none; color: #2A4A6D }
+.tab a:hover { color: #000066; }
+
+table .title { background-color: #FFFFFF; width:100%; border: 0px; }
+.dida { font-size: 80%; }
+
+.pre { white-space: pre;}
+
+.content { padding: 5px 5px 5px 10px; font : small Verdana, Helvetica, sans-serif;  font-size : 90%; }
+.content .ForrestTable { width: 100%; background-color: #7099C5; color: #ffffff; font-size : 90%;}
+.content .ForrestTable th a:link { color: white; }
+.content .ForrestTable th a:visited { color: #cfdced; }
+.content .ForrestTable th a:active { color: #000066; }
+.content .ForrestTable th a:hover { color: #000066; }
+.content .ForrestTable caption { text-align: left; color: black; font-weight: bold; }
+.content .ForrestTable th { text-align: center; }
+.content .ForrestTable td { background-color: #f0f0ff; color: black; }
+.content .attribution { text-align: right; font-style: italic; font-size: 90% }
+
+.frame { margin: 5px 20px 5px 20px; font-size: 90%; }
+.frame .content { margin: 0px; }
+
+.note { border: solid 1px #7099C5; background-color: #f0f0ff; }
+.note .label { background-color: #7099C5; color: #ffffff; }
+
+.warning { border: solid 1px #D00000; background-color: #fff0f0; }
+.warning .label { background-color: #D00000; color: #ffffff; }
+
+.fixme { border: solid 1px #C6C600; background-color: #FAF9C3; }
+.fixme .label { background-color: #C6C600; color: #ffffff; }
+
+.code { border-color: #CFDCED; border-style: solid; border-width: 1px; }
+.codefrag { font-family: "Courier New", Courier, monospace; }
+
+.highlight { background-color: yellow; }
+
+.minitoc {margin: 5px 5px 5px 40px;}
+
+.dtdElement { width: 100%;  font-size: 90%; background-color : #ffffff; }
+
+.dtdTag {    color: #990000; text-transform : uppercase;  font-style : normal;  font-size : 120%;  font-weight : bold; }
+
+
+@media print {
+   .menu {
+     display: none;
+   }
+}

Added: ibatis/trunk/cs/V3/docs/tutorial/src/en/images/figure01.gif
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/tutorial/src/en/images/figure01.gif?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/tutorial/src/en/images/figure01.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/tutorial/src/en/images/figure02.gif
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/tutorial/src/en/images/figure02.gif?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/tutorial/src/en/images/figure02.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/tutorial/src/en/images/figure03.gif
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/tutorial/src/en/images/figure03.gif?rev=682456&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/V3/docs/tutorial/src/en/images/figure03.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/V3/docs/tutorial/src/en/index.xml
URL: http://svn.apache.org/viewvc/ibatis/trunk/cs/V3/docs/tutorial/src/en/index.xml?rev=682456&view=auto
==============================================================================
--- ibatis/trunk/cs/V3/docs/tutorial/src/en/index.xml (added)
+++ ibatis/trunk/cs/V3/docs/tutorial/src/en/index.xml Mon Aug  4 11:43:42 2008
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "../../docbook/docbook-dtd/docbookx.dtd" [
+<!ENTITY tutorial SYSTEM "tutorial.xml">
+]>
+<book>
+  <bookinfo>
+    <title>iBATIS.NET Tutorial</title>
+    <subtitle>Data Mapper Tutorial</subtitle>
+    <releaseinfo>Version 1.2.1</releaseinfo>
+    <pubdate>June 9 2005</pubdate>
+    <authorgroup>
+      <author>
+        <firstname>Ted</firstname>
+        <surname>Husted</surname>
+      </author>
+      <author>
+        <firstname>Clinton</firstname>
+        <surname>Begin</surname>
+      </author>
+    </authorgroup>
+
+    <legalnotice>
+      <para>Copies of this document may be made for your own use and for
+      distribution to others, provided that you do not charge any fee for such
+      copies and further provided that each copy contains this Copyright
+      Notice, whether distributed in print or electronically.</para>
+    </legalnotice>
+  </bookinfo>
+
+  <toc></toc>
+
+  &tutorial;
+
+</book>
\ No newline at end of file