You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by jk...@apache.org on 2023/12/20 02:43:01 UTC

(xalan-java) branch xalan-java-mvn-refactored updated: Convert text files with CRLF endings to LF to fix Git warnings

This is an automated email from the ASF dual-hosted git repository.

jkesselm pushed a commit to branch xalan-java-mvn-refactored
in repository https://gitbox.apache.org/repos/asf/xalan-java.git


The following commit(s) were added to refs/heads/xalan-java-mvn-refactored by this push:
     new 16c6650d Convert text files with CRLF endings to LF to fix Git warnings
     new 04236396 Merge pull request #141 from kriegaex/fix-line-breaks-crlf-vs-lf
16c6650d is described below

commit 16c6650dd42782ac2479dc76d0eaba30dd12a5fd
Author: Alexander Kriegisch <Al...@Kriegisch.name>
AuthorDate: Wed Dec 20 09:06:05 2023 +0700

    Convert text files with CRLF endings to LF to fix Git warnings
    
    After introduction of .gitattributes, I started getting warnings.
---
 stylebook/loader.xml                        |  18 +-
 stylebook/resources/script.js               |  42 +-
 stylebook/stylesheets/any2header.xsl        |  56 +-
 stylebook/stylesheets/any2project.xsl       |  40 +-
 stylebook/stylesheets/book2group.xsl        |  66 +--
 stylebook/stylesheets/book2project.xsl      | 512 ++++++++--------
 stylebook/stylesheets/changes2document.xsl  |  84 +--
 stylebook/stylesheets/context2footer.xsl    |  56 +-
 stylebook/stylesheets/context2label.xsl     |  48 +-
 stylebook/stylesheets/directory2project.xsl |  66 +--
 stylebook/stylesheets/document2html.xsl     | 890 ++++++++++++++--------------
 stylebook/stylesheets/done.xsl              | 132 ++---
 stylebook/stylesheets/faqs2document.xsl     | 130 ++--
 stylebook/stylesheets/group2document.xsl    |  60 +-
 14 files changed, 1100 insertions(+), 1100 deletions(-)

diff --git a/stylebook/loader.xml b/stylebook/loader.xml
index 8607e5d7..a416d842 100644
--- a/stylebook/loader.xml
+++ b/stylebook/loader.xml
@@ -1,9 +1,9 @@
-<?xml version="1.0"?>
-
-<!-- CVS $Revision: 1.1 $ $Date: 1999/12/01 14:26:14 $ -->
-
-<loader>
-  <processor name="xslt">
-    <parameter name="stylesheet" value="sbk:/style/stylesheets/book2project.xsl"/>
-  </processor>
-</loader>
+<?xml version="1.0"?>
+
+<!-- CVS $Revision: 1.1 $ $Date: 1999/12/01 14:26:14 $ -->
+
+<loader>
+  <processor name="xslt">
+    <parameter name="stylesheet" value="sbk:/style/stylesheets/book2project.xsl"/>
+  </processor>
+</loader>
diff --git a/stylebook/resources/script.js b/stylebook/resources/script.js
index 2f89588f..ebadeb2b 100644
--- a/stylebook/resources/script.js
+++ b/stylebook/resources/script.js
@@ -1,21 +1,21 @@
-rolloverImagesOn=new Array();
-rolloverImagesOff=new Array();
-
-function rolloverOn(name) {
-  if(rolloverImagesOn[name]){
-    document.images[name].src=rolloverImagesOn[name].src;
-  }
-}
-
-function rolloverOff(name) {
-  if(rolloverImagesOff[name]){
-      document.images[name].src=rolloverImagesOff[name].src;
-  }
-}
-
-function rolloverLoad(name,on,off) {
-  rolloverImagesOn[name]=new Image();
-  rolloverImagesOn[name].src=on;
-  rolloverImagesOff[name]=new Image();
-  rolloverImagesOff[name].src=off;
-}
+rolloverImagesOn=new Array();
+rolloverImagesOff=new Array();
+
+function rolloverOn(name) {
+  if(rolloverImagesOn[name]){
+    document.images[name].src=rolloverImagesOn[name].src;
+  }
+}
+
+function rolloverOff(name) {
+  if(rolloverImagesOff[name]){
+      document.images[name].src=rolloverImagesOff[name].src;
+  }
+}
+
+function rolloverLoad(name,on,off) {
+  rolloverImagesOn[name]=new Image();
+  rolloverImagesOn[name].src=on;
+  rolloverImagesOff[name]=new Image();
+  rolloverImagesOff[name].src=off;
+}
diff --git a/stylebook/stylesheets/any2header.xsl b/stylebook/stylesheets/any2header.xsl
index 51a8e5a0..0c621005 100644
--- a/stylebook/stylesheets/any2header.xsl
+++ b/stylebook/stylesheets/any2header.xsl
@@ -1,29 +1,29 @@
-<?xml version="1.0"?>
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
-  <xsl:param name="label"/>
-
-  <xsl:template match="/">
-    <image width="456" height="35" bgcolor="0086b2">
-      <xsl:apply-templates/>
-    </image>
-  </xsl:template>
-
-  <xsl:template match="s1|faqs|changes">
-      <xsl:variable name="title">
-        <xsl:if test="string-length(@title)=0">
-          <xsl:value-of select="$label"/>
-        </xsl:if>
-        <xsl:if test="string-length(@title)>0">
-          <xsl:value-of select="@title"/>
-        </xsl:if>
-      </xsl:variable>
-
-      <text font="Arial" size="29" x="454" y="8" halign="right" valign="top" color="004080"
-            text="{$title}"/>
-      <text font="Arial" size="29" x="452" y="6" halign="right" valign="top" color="ffffff"
-            text="{$title}"/>
-  </xsl:template>
-
+<?xml version="1.0"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+  <xsl:param name="label"/>
+
+  <xsl:template match="/">
+    <image width="456" height="35" bgcolor="0086b2">
+      <xsl:apply-templates/>
+    </image>
+  </xsl:template>
+
+  <xsl:template match="s1|faqs|changes">
+      <xsl:variable name="title">
+        <xsl:if test="string-length(@title)=0">
+          <xsl:value-of select="$label"/>
+        </xsl:if>
+        <xsl:if test="string-length(@title)>0">
+          <xsl:value-of select="@title"/>
+        </xsl:if>
+      </xsl:variable>
+
+      <text font="Arial" size="29" x="454" y="8" halign="right" valign="top" color="004080"
+            text="{$title}"/>
+      <text font="Arial" size="29" x="452" y="6" halign="right" valign="top" color="ffffff"
+            text="{$title}"/>
+  </xsl:template>
+
 </xsl:stylesheet>
\ No newline at end of file
diff --git a/stylebook/stylesheets/any2project.xsl b/stylebook/stylesheets/any2project.xsl
index 2a29c06f..191961fd 100644
--- a/stylebook/stylesheets/any2project.xsl
+++ b/stylebook/stylesheets/any2project.xsl
@@ -1,21 +1,21 @@
-<?xml version="1.0"?>
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
-  <xsl:param name="label"/>
-
-  <xsl:template match="/">
-    <project>
-      <xsl:apply-templates/>
-    </project>
-  </xsl:template>
-
-  <xsl:template match="img">
-    <resource source="{@src}" target="images/{@src}"/>
-  </xsl:template>
-
-  <xsl:template match="node()">
-    <xsl:apply-templates/>
-  </xsl:template>
-
+<?xml version="1.0"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+  <xsl:param name="label"/>
+
+  <xsl:template match="/">
+    <project>
+      <xsl:apply-templates/>
+    </project>
+  </xsl:template>
+
+  <xsl:template match="img">
+    <resource source="{@src}" target="images/{@src}"/>
+  </xsl:template>
+
+  <xsl:template match="node()">
+    <xsl:apply-templates/>
+  </xsl:template>
+
 </xsl:stylesheet>
\ No newline at end of file
diff --git a/stylebook/stylesheets/book2group.xsl b/stylebook/stylesheets/book2group.xsl
index 34ac963e..3c3cc125 100644
--- a/stylebook/stylesheets/book2group.xsl
+++ b/stylebook/stylesheets/book2group.xsl
@@ -1,34 +1,34 @@
-<?xml version="1.0"?>
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
-  <xsl:param name="id"/>
-
-  <xsl:template match="/">
-    <xsl:apply-templates/>
-  </xsl:template>
-
-  <xsl:template match="book">
-    <group title="{group[attribute::id=$id]/@label}">
-      <xsl:apply-templates select="group[attribute::id=$id]/entry"/>
-    </group>
-  </xsl:template>
-
-  <xsl:template match="entry">
-    <entry id="{@id}" title="{document(concat('sbk:/sources/',@source))/faqs/@title}">
-      <xsl:apply-templates select="document(concat('sbk:/sources/',@source))/faqs/faq"/>
-    </entry>
-  </xsl:template>
-
-  <xsl:template match="faq">
-    <voice>
-      <xsl:if test="string-length(@title)=0">
-        <xsl:value-of select="q"/>
-      </xsl:if>
-      <xsl:if test="string-length(@title)>0">
-        <xsl:value-of select="@title"/>
-      </xsl:if>
-    </voice>
-  </xsl:template>
-
+<?xml version="1.0"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+  <xsl:param name="id"/>
+
+  <xsl:template match="/">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="book">
+    <group title="{group[attribute::id=$id]/@label}">
+      <xsl:apply-templates select="group[attribute::id=$id]/entry"/>
+    </group>
+  </xsl:template>
+
+  <xsl:template match="entry">
+    <entry id="{@id}" title="{document(concat('sbk:/sources/',@source))/faqs/@title}">
+      <xsl:apply-templates select="document(concat('sbk:/sources/',@source))/faqs/faq"/>
+    </entry>
+  </xsl:template>
+
+  <xsl:template match="faq">
+    <voice>
+      <xsl:if test="string-length(@title)=0">
+        <xsl:value-of select="q"/>
+      </xsl:if>
+      <xsl:if test="string-length(@title)>0">
+        <xsl:value-of select="@title"/>
+      </xsl:if>
+    </voice>
+  </xsl:template>
+
 </xsl:stylesheet>
\ No newline at end of file
diff --git a/stylebook/stylesheets/book2project.xsl b/stylebook/stylesheets/book2project.xsl
index 41d34e2a..f9b30638 100644
--- a/stylebook/stylesheets/book2project.xsl
+++ b/stylebook/stylesheets/book2project.xsl
@@ -1,257 +1,257 @@
-<?xml version="1.0"?>
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
-  <xsl:template match="/">
-    <xsl:apply-templates/>
-  </xsl:template>
-
-  <!-- match the root book element -->
-  <xsl:template match="book">
-    <project>
-
-      <parameter name="copyright" value="{@copyright}"/>
-
-      <!-- copy all resources to the targets -->
-      <process source="sbk:/style/resources/" producer="directory">
-        <processor name="xslt">
-          <parameter name="stylesheet" value="sbk:/style/stylesheets/directory2project.xsl"/>
-          <parameter name="base" value="resources/"/>
-        </processor>
-      </process>
-
-      <xsl:apply-templates/>
-
-    </project>
-  </xsl:template>
-
-<!-- ********************************************************************** -->
-<!-- CREATE THE TARGET HTML -->
-<!-- ********************************************************************** -->
-
-  <xsl:template match="document">
-
-    <process source="{@source}" producer="parser">
-      <processor name="xslt">
-        <parameter name="stylesheet" value="sbk:/style/stylesheets/any2project.xsl"/>
-      </processor>
-    </process>
-
-    <xsl:call-template name="header">
-      <xsl:with-param name="id"     select="@id"/>
-      <xsl:with-param name="source" select="@source"/>
-      <xsl:with-param name="label"  select="@label"/>
-    </xsl:call-template>
-
-    <xsl:call-template name="labels">
-      <xsl:with-param name="id" select="@id"/>
-      <xsl:with-param name="label" select="@label"/>
-    </xsl:call-template>
-
-    <create source="{@source}" target="{@id}.html" producer="parser" printer="html">
-      <processor name="xslt">
-        <parameter name="id" value="{@id}"/>
-        <parameter name="stylesheet" value="sbk:/style/stylesheets/document2html.xsl"/>
-      </processor>
-    </create>
-  </xsl:template>
-
-  <xsl:template match="hidden">
-
-    <process source="{@source}" producer="parser">
-      <processor name="xslt">
-        <parameter name="stylesheet" value="sbk:/style/stylesheets/any2project.xsl"/>
-      </processor>
-    </process>
-
-    <xsl:call-template name="header">
-      <xsl:with-param name="id"     select="@id"/>
-      <xsl:with-param name="source" select="@source"/>
-      <xsl:with-param name="label"  select="@label"/>
-    </xsl:call-template>
-
-    <create source="{@source}" target="{@id}.html" producer="parser" printer="html">
-      <processor name="xslt">
-        <parameter name="id" value="{@id}"/>
-        <parameter name="stylesheet" value="sbk:/style/stylesheets/document2html.xsl"/>
-      </processor>
-    </create>
-  </xsl:template>
-
-  <xsl:template match="faqs">
-
-    <process source="{@source}" producer="parser">
-      <processor name="xslt">
-        <parameter name="stylesheet" value="sbk:/style/stylesheets/any2project.xsl"/>
-      </processor>
-    </process>
-
-    <xsl:call-template name="header">
-      <xsl:with-param name="id"     select="@id"/>
-      <xsl:with-param name="source" select="@source"/>
-      <xsl:with-param name="label"  select="@label"/>
-    </xsl:call-template>
-
-    <xsl:call-template name="labels">
-      <xsl:with-param name="id" select="@id"/>
-      <xsl:with-param name="label" select="@label"/>
-    </xsl:call-template>
-
-    <create source="{@source}" target="{@id}.html" producer="parser" printer="html">
-      <processor name="xslt">
-        <parameter name="stylesheet" value="sbk:/style/stylesheets/faqs2document.xsl"/>
-      </processor>
-      <processor name="xslt">
-        <parameter name="id" value="{@id}"/>
-        <parameter name="stylesheet" value="sbk:/style/stylesheets/document2html.xsl"/>
-      </processor>
-    </create>
-
-  </xsl:template>
-
-  <xsl:template match="changes">
-
-    <process source="{@source}" producer="parser">
-      <processor name="xslt">
-        <parameter name="stylesheet" value="sbk:/style/stylesheets/any2project.xsl"/>
-      </processor>
-    </process>
-
-    <xsl:call-template name="header">
-      <xsl:with-param name="id"     select="@id"/>
-      <xsl:with-param name="source" select="@source"/>
-      <xsl:with-param name="label"  select="@label"/>
-    </xsl:call-template>
-
-    <xsl:call-template name="labels">
-      <xsl:with-param name="id" select="@id"/>
-      <xsl:with-param name="label" select="@label"/>
-    </xsl:call-template>
-
-    <create source="{@source}" target="{@id}.html" producer="parser" printer="html">
-      <processor name="xslt">
-        <parameter name="stylesheet" value="sbk:/style/stylesheets/changes2document.xsl"/>
-      </processor>
-      <processor name="xslt">
-        <parameter name="id" value="{@id}"/>
-        <parameter name="stylesheet" value="sbk:/style/stylesheets/document2html.xsl"/>
-      </processor>
-    </create>
-
-  </xsl:template>
-
-  <xsl:template match="group">
-    <xsl:apply-templates/>
-
-    <xsl:call-template name="header">
-      <xsl:with-param name="id"     select="@id"/>
-      <xsl:with-param name="source" select="@source"/>
-      <xsl:with-param name="label"  select="@label"/>
-    </xsl:call-template>
-
-    <xsl:call-template name="labels">
-      <xsl:with-param name="id" select="@id"/>
-      <xsl:with-param name="label" select="@label"/>
-    </xsl:call-template>
-
-    <create source="" target="{@id}.html" producer="project" printer="html">
-      <parameter name="id" value="{@id}"/>
-      <processor name="xslt">
-        <parameter name="stylesheet" value="sbk:/style/stylesheets/book2group.xsl"/>
-      </processor>
-      <processor name="xslt">
-        <parameter name="stylesheet" value="sbk:/style/stylesheets/group2document.xsl"/>
-      </processor>
-      <processor name="xslt">
-        <parameter name="stylesheet" value="sbk:/style/stylesheets/document2html.xsl"/>
-      </processor>
-    </create>
-
-  </xsl:template>
-
-  <xsl:template match="entry">
-
-    <process source="{@source}" producer="parser">
-      <processor name="xslt">
-        <parameter name="stylesheet" value="sbk:/style/stylesheets/any2project.xsl"/>
-      </processor>
-    </process>
-
-    <xsl:call-template name="header">
-      <xsl:with-param name="id"     select="@id"/>
-      <xsl:with-param name="source" select="@source"/>
-      <xsl:with-param name="label"  select="@label"/>
-    </xsl:call-template>
-
-    <create source="{@source}" target="{@id}.html" producer="parser" printer="html">
-      <processor name="xslt">
-        <parameter name="stylesheet" value="sbk:/style/stylesheets/faqs2document.xsl"/>
-      </processor>
-      <processor name="xslt">
-        <parameter name="id" value="{@id}"/>
-        <parameter name="stylesheet" value="sbk:/style/stylesheets/document2html.xsl"/>
-      </processor>
-    </create>
-
-  </xsl:template>
-
-  <xsl:template match="external">
-
-    <xsl:call-template name="labels">
-      <xsl:with-param name="id" select="concat('ext-',position())"/>
-      <xsl:with-param name="label" select="@label"/>
-    </xsl:call-template>
-
-  </xsl:template>
-<!-- ********************************************************************** -->
-<!-- NAMED TEMPLATES -->
-<!-- ********************************************************************** -->
-
-<!-- Generate the doument header image -->
-  <xsl:template name="header"> 
-    <xsl:param name="id"/>
-    <xsl:param name="source"/>
-    <xsl:param name="label"/>
-
-    <create source="{$source}" target="graphics/{$id}-header.jpg" producer="parser" printer="image">
-      <processor name="xslt">
-        <parameter name="label" value="{$label}"/>
-        <parameter name="stylesheet" value="sbk:/style/stylesheets/any2header.xsl"/>
-      </processor>
-    </create>
-  </xsl:template>
-
-<!-- Generate the three rollover label images -->
-  <xsl:template name="labels"> 
-    <xsl:param name="id"/>
-    <xsl:param name="label"/>
-    
-    <create source="" target="graphics/{$id}-label-1.jpg" producer="context" printer="image">
-      <parameter name="label" value="{$label}"/>
-      <processor name="xslt">
-        <parameter name="stylesheet" value="sbk:/style/stylesheets/context2label.xsl"/>
-        <parameter name="image" value="sbk:/style/graphics/button-a.gif"/>
-        <parameter name="color" value="ffffff"/>
-      </processor>
-    </create>
-
-    <create source="" target="graphics/{$id}-label-2.jpg" producer="context" printer="image">
-      <parameter name="label" value="{$label}"/>
-      <processor name="xslt">
-        <parameter name="stylesheet" value="sbk:/style/stylesheets/context2label.xsl"/>
-        <parameter name="image" value="sbk:/style/graphics/button-b.gif"/>
-        <parameter name="color" value="ffff00"/>
-      </processor>
-    </create>
-
-    <create source="" target="graphics/{$id}-label-3.jpg" producer="context" printer="image">
-      <parameter name="label" value="{$label}"/>
-      <processor name="xslt">
-        <parameter name="stylesheet" value="sbk:/style/stylesheets/context2label.xsl"/>
-        <parameter name="image" value="sbk:/style/graphics/button-b.gif"/>
-        <parameter name="color" value="ffffff"/>
-      </processor>
-    </create>
-  </xsl:template>
-
+<?xml version="1.0"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+  <xsl:template match="/">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <!-- match the root book element -->
+  <xsl:template match="book">
+    <project>
+
+      <parameter name="copyright" value="{@copyright}"/>
+
+      <!-- copy all resources to the targets -->
+      <process source="sbk:/style/resources/" producer="directory">
+        <processor name="xslt">
+          <parameter name="stylesheet" value="sbk:/style/stylesheets/directory2project.xsl"/>
+          <parameter name="base" value="resources/"/>
+        </processor>
+      </process>
+
+      <xsl:apply-templates/>
+
+    </project>
+  </xsl:template>
+
+<!-- ********************************************************************** -->
+<!-- CREATE THE TARGET HTML -->
+<!-- ********************************************************************** -->
+
+  <xsl:template match="document">
+
+    <process source="{@source}" producer="parser">
+      <processor name="xslt">
+        <parameter name="stylesheet" value="sbk:/style/stylesheets/any2project.xsl"/>
+      </processor>
+    </process>
+
+    <xsl:call-template name="header">
+      <xsl:with-param name="id"     select="@id"/>
+      <xsl:with-param name="source" select="@source"/>
+      <xsl:with-param name="label"  select="@label"/>
+    </xsl:call-template>
+
+    <xsl:call-template name="labels">
+      <xsl:with-param name="id" select="@id"/>
+      <xsl:with-param name="label" select="@label"/>
+    </xsl:call-template>
+
+    <create source="{@source}" target="{@id}.html" producer="parser" printer="html">
+      <processor name="xslt">
+        <parameter name="id" value="{@id}"/>
+        <parameter name="stylesheet" value="sbk:/style/stylesheets/document2html.xsl"/>
+      </processor>
+    </create>
+  </xsl:template>
+
+  <xsl:template match="hidden">
+
+    <process source="{@source}" producer="parser">
+      <processor name="xslt">
+        <parameter name="stylesheet" value="sbk:/style/stylesheets/any2project.xsl"/>
+      </processor>
+    </process>
+
+    <xsl:call-template name="header">
+      <xsl:with-param name="id"     select="@id"/>
+      <xsl:with-param name="source" select="@source"/>
+      <xsl:with-param name="label"  select="@label"/>
+    </xsl:call-template>
+
+    <create source="{@source}" target="{@id}.html" producer="parser" printer="html">
+      <processor name="xslt">
+        <parameter name="id" value="{@id}"/>
+        <parameter name="stylesheet" value="sbk:/style/stylesheets/document2html.xsl"/>
+      </processor>
+    </create>
+  </xsl:template>
+
+  <xsl:template match="faqs">
+
+    <process source="{@source}" producer="parser">
+      <processor name="xslt">
+        <parameter name="stylesheet" value="sbk:/style/stylesheets/any2project.xsl"/>
+      </processor>
+    </process>
+
+    <xsl:call-template name="header">
+      <xsl:with-param name="id"     select="@id"/>
+      <xsl:with-param name="source" select="@source"/>
+      <xsl:with-param name="label"  select="@label"/>
+    </xsl:call-template>
+
+    <xsl:call-template name="labels">
+      <xsl:with-param name="id" select="@id"/>
+      <xsl:with-param name="label" select="@label"/>
+    </xsl:call-template>
+
+    <create source="{@source}" target="{@id}.html" producer="parser" printer="html">
+      <processor name="xslt">
+        <parameter name="stylesheet" value="sbk:/style/stylesheets/faqs2document.xsl"/>
+      </processor>
+      <processor name="xslt">
+        <parameter name="id" value="{@id}"/>
+        <parameter name="stylesheet" value="sbk:/style/stylesheets/document2html.xsl"/>
+      </processor>
+    </create>
+
+  </xsl:template>
+
+  <xsl:template match="changes">
+
+    <process source="{@source}" producer="parser">
+      <processor name="xslt">
+        <parameter name="stylesheet" value="sbk:/style/stylesheets/any2project.xsl"/>
+      </processor>
+    </process>
+
+    <xsl:call-template name="header">
+      <xsl:with-param name="id"     select="@id"/>
+      <xsl:with-param name="source" select="@source"/>
+      <xsl:with-param name="label"  select="@label"/>
+    </xsl:call-template>
+
+    <xsl:call-template name="labels">
+      <xsl:with-param name="id" select="@id"/>
+      <xsl:with-param name="label" select="@label"/>
+    </xsl:call-template>
+
+    <create source="{@source}" target="{@id}.html" producer="parser" printer="html">
+      <processor name="xslt">
+        <parameter name="stylesheet" value="sbk:/style/stylesheets/changes2document.xsl"/>
+      </processor>
+      <processor name="xslt">
+        <parameter name="id" value="{@id}"/>
+        <parameter name="stylesheet" value="sbk:/style/stylesheets/document2html.xsl"/>
+      </processor>
+    </create>
+
+  </xsl:template>
+
+  <xsl:template match="group">
+    <xsl:apply-templates/>
+
+    <xsl:call-template name="header">
+      <xsl:with-param name="id"     select="@id"/>
+      <xsl:with-param name="source" select="@source"/>
+      <xsl:with-param name="label"  select="@label"/>
+    </xsl:call-template>
+
+    <xsl:call-template name="labels">
+      <xsl:with-param name="id" select="@id"/>
+      <xsl:with-param name="label" select="@label"/>
+    </xsl:call-template>
+
+    <create source="" target="{@id}.html" producer="project" printer="html">
+      <parameter name="id" value="{@id}"/>
+      <processor name="xslt">
+        <parameter name="stylesheet" value="sbk:/style/stylesheets/book2group.xsl"/>
+      </processor>
+      <processor name="xslt">
+        <parameter name="stylesheet" value="sbk:/style/stylesheets/group2document.xsl"/>
+      </processor>
+      <processor name="xslt">
+        <parameter name="stylesheet" value="sbk:/style/stylesheets/document2html.xsl"/>
+      </processor>
+    </create>
+
+  </xsl:template>
+
+  <xsl:template match="entry">
+
+    <process source="{@source}" producer="parser">
+      <processor name="xslt">
+        <parameter name="stylesheet" value="sbk:/style/stylesheets/any2project.xsl"/>
+      </processor>
+    </process>
+
+    <xsl:call-template name="header">
+      <xsl:with-param name="id"     select="@id"/>
+      <xsl:with-param name="source" select="@source"/>
+      <xsl:with-param name="label"  select="@label"/>
+    </xsl:call-template>
+
+    <create source="{@source}" target="{@id}.html" producer="parser" printer="html">
+      <processor name="xslt">
+        <parameter name="stylesheet" value="sbk:/style/stylesheets/faqs2document.xsl"/>
+      </processor>
+      <processor name="xslt">
+        <parameter name="id" value="{@id}"/>
+        <parameter name="stylesheet" value="sbk:/style/stylesheets/document2html.xsl"/>
+      </processor>
+    </create>
+
+  </xsl:template>
+
+  <xsl:template match="external">
+
+    <xsl:call-template name="labels">
+      <xsl:with-param name="id" select="concat('ext-',position())"/>
+      <xsl:with-param name="label" select="@label"/>
+    </xsl:call-template>
+
+  </xsl:template>
+<!-- ********************************************************************** -->
+<!-- NAMED TEMPLATES -->
+<!-- ********************************************************************** -->
+
+<!-- Generate the doument header image -->
+  <xsl:template name="header"> 
+    <xsl:param name="id"/>
+    <xsl:param name="source"/>
+    <xsl:param name="label"/>
+
+    <create source="{$source}" target="graphics/{$id}-header.jpg" producer="parser" printer="image">
+      <processor name="xslt">
+        <parameter name="label" value="{$label}"/>
+        <parameter name="stylesheet" value="sbk:/style/stylesheets/any2header.xsl"/>
+      </processor>
+    </create>
+  </xsl:template>
+
+<!-- Generate the three rollover label images -->
+  <xsl:template name="labels"> 
+    <xsl:param name="id"/>
+    <xsl:param name="label"/>
+    
+    <create source="" target="graphics/{$id}-label-1.jpg" producer="context" printer="image">
+      <parameter name="label" value="{$label}"/>
+      <processor name="xslt">
+        <parameter name="stylesheet" value="sbk:/style/stylesheets/context2label.xsl"/>
+        <parameter name="image" value="sbk:/style/graphics/button-a.gif"/>
+        <parameter name="color" value="ffffff"/>
+      </processor>
+    </create>
+
+    <create source="" target="graphics/{$id}-label-2.jpg" producer="context" printer="image">
+      <parameter name="label" value="{$label}"/>
+      <processor name="xslt">
+        <parameter name="stylesheet" value="sbk:/style/stylesheets/context2label.xsl"/>
+        <parameter name="image" value="sbk:/style/graphics/button-b.gif"/>
+        <parameter name="color" value="ffff00"/>
+      </processor>
+    </create>
+
+    <create source="" target="graphics/{$id}-label-3.jpg" producer="context" printer="image">
+      <parameter name="label" value="{$label}"/>
+      <processor name="xslt">
+        <parameter name="stylesheet" value="sbk:/style/stylesheets/context2label.xsl"/>
+        <parameter name="image" value="sbk:/style/graphics/button-b.gif"/>
+        <parameter name="color" value="ffffff"/>
+      </processor>
+    </create>
+  </xsl:template>
+
 </xsl:stylesheet>
\ No newline at end of file
diff --git a/stylebook/stylesheets/changes2document.xsl b/stylebook/stylesheets/changes2document.xsl
index dccbcfce..c0fd6ba0 100644
--- a/stylebook/stylesheets/changes2document.xsl
+++ b/stylebook/stylesheets/changes2document.xsl
@@ -1,43 +1,43 @@
-<?xml version="1.0"?>
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
-  <xsl:template match="/">
-    <xsl:apply-templates/>
-  </xsl:template>
-
-  <xsl:template match="changes">
-    <s1 title="{@title}">
-      <xsl:apply-templates/>
-    </s1>
-  </xsl:template>
-
-  <xsl:template match="release">
-    <s2 title="Release {@version} {@date}">
-      <br/><xsl:apply-templates/>
-    </s2>
-  </xsl:template>
-
-  <xsl:template match="features">
-    <s3 title="Features">
-      <ul><xsl:apply-templates/></ul>
-    </s3>
-  </xsl:template>
-
-  <xsl:template match="fixes">
-    <s3 title="Bugs fixed">
-      <ul><xsl:apply-templates/></ul>
-    </s3>
-  </xsl:template>
-
-  <xsl:template match="feat|fix">
-    <li><xsl:apply-templates/></li>
-  </xsl:template>
-
-  <xsl:template match="@*|node()">
-    <xsl:copy>
-      <xsl:apply-templates select="@*|node()"/>
-    </xsl:copy>
-  </xsl:template>
-
+<?xml version="1.0"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+  <xsl:template match="/">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="changes">
+    <s1 title="{@title}">
+      <xsl:apply-templates/>
+    </s1>
+  </xsl:template>
+
+  <xsl:template match="release">
+    <s2 title="Release {@version} {@date}">
+      <br/><xsl:apply-templates/>
+    </s2>
+  </xsl:template>
+
+  <xsl:template match="features">
+    <s3 title="Features">
+      <ul><xsl:apply-templates/></ul>
+    </s3>
+  </xsl:template>
+
+  <xsl:template match="fixes">
+    <s3 title="Bugs fixed">
+      <ul><xsl:apply-templates/></ul>
+    </s3>
+  </xsl:template>
+
+  <xsl:template match="feat|fix">
+    <li><xsl:apply-templates/></li>
+  </xsl:template>
+
+  <xsl:template match="@*|node()">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|node()"/>
+    </xsl:copy>
+  </xsl:template>
+
 </xsl:stylesheet>
\ No newline at end of file
diff --git a/stylebook/stylesheets/context2footer.xsl b/stylebook/stylesheets/context2footer.xsl
index f50cdf2f..16887a72 100644
--- a/stylebook/stylesheets/context2footer.xsl
+++ b/stylebook/stylesheets/context2footer.xsl
@@ -1,29 +1,29 @@
-<?xml version="1.0"?>
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
-  <xsl:template match="/">
-    <xsl:apply-templates/>
-  </xsl:template>
-
-  <xsl:template match="context">
-    <image source="sbk:/style/graphics/footer.gif">
-      <xsl:apply-templates/>
-    </image>
-  </xsl:template>
-
-  <xsl:template match="parameter">
-    <xsl:if test="@name='copyright'">
-      <text font="Arial Bold" size="11" x="124" y="6" style="plain"
-            halign="left" valign="top" color="666699"
-            text="Copyright &#169; {@value}. All Rights Reserved."/>
-      <text font="Arial Bold" size="11" x="123" y="5" style="plain"
-            halign="left" valign="top" color="333366"
-            text="Copyright &#169; {@value}. All Rights Reserved."/>
-      <text font="Arial Bold" size="11" x="122" y="4" style="plain"
-            halign="left" valign="top" color="ffffff"
-            text="Copyright &#169; {@value}. All Rights Reserved."/>
-    </xsl:if>
-  </xsl:template>
-
+<?xml version="1.0"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+  <xsl:template match="/">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="context">
+    <image source="sbk:/style/graphics/footer.gif">
+      <xsl:apply-templates/>
+    </image>
+  </xsl:template>
+
+  <xsl:template match="parameter">
+    <xsl:if test="@name='copyright'">
+      <text font="Arial Bold" size="11" x="124" y="6" style="plain"
+            halign="left" valign="top" color="666699"
+            text="Copyright &#169; {@value}. All Rights Reserved."/>
+      <text font="Arial Bold" size="11" x="123" y="5" style="plain"
+            halign="left" valign="top" color="333366"
+            text="Copyright &#169; {@value}. All Rights Reserved."/>
+      <text font="Arial Bold" size="11" x="122" y="4" style="plain"
+            halign="left" valign="top" color="ffffff"
+            text="Copyright &#169; {@value}. All Rights Reserved."/>
+    </xsl:if>
+  </xsl:template>
+
 </xsl:stylesheet>
\ No newline at end of file
diff --git a/stylebook/stylesheets/context2label.xsl b/stylebook/stylesheets/context2label.xsl
index 3c25e521..4970f3a3 100644
--- a/stylebook/stylesheets/context2label.xsl
+++ b/stylebook/stylesheets/context2label.xsl
@@ -1,25 +1,25 @@
-<?xml version="1.0"?>
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
-  <xsl:param name="image"/>
-  <xsl:param name="color"/>
-
-  <xsl:template match="/">
-    <xsl:apply-templates/>
-  </xsl:template>
-
-  <xsl:template match="context">
-    <image source="{$image}">
-      <xsl:apply-templates/>
-    </image>
-  </xsl:template>
-
-  <xsl:template match="parameter">
-    <xsl:if test="@name='label'">
-      <text font="Arial" size="12" x="14" y="1" halign="left"
-            valign="top" color="{$color}" style="italic" text="{@value}"/>
-    </xsl:if>
-  </xsl:template>
-
+<?xml version="1.0"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+  <xsl:param name="image"/>
+  <xsl:param name="color"/>
+
+  <xsl:template match="/">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="context">
+    <image source="{$image}">
+      <xsl:apply-templates/>
+    </image>
+  </xsl:template>
+
+  <xsl:template match="parameter">
+    <xsl:if test="@name='label'">
+      <text font="Arial" size="12" x="14" y="1" halign="left"
+            valign="top" color="{$color}" style="italic" text="{@value}"/>
+    </xsl:if>
+  </xsl:template>
+
 </xsl:stylesheet>
\ No newline at end of file
diff --git a/stylebook/stylesheets/directory2project.xsl b/stylebook/stylesheets/directory2project.xsl
index 48a4581c..99427886 100644
--- a/stylebook/stylesheets/directory2project.xsl
+++ b/stylebook/stylesheets/directory2project.xsl
@@ -1,34 +1,34 @@
-<?xml version="1.0"?>
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
-  <xsl:param name="base"/>
-
-  <xsl:template match="/">
-    <xsl:apply-templates/>
-  </xsl:template>
-
-  <xsl:template match="directory">
-    <project>
-      <xsl:apply-templates/>
-    </project>
-  </xsl:template>
-
-  <xsl:template match="entry">
-
-    <!--xsl:if test="@directory!='true'"-->
-      <resource source="{@href}" target="{$base}{@href}"/>
-    <!--/xsl:if-->
-<!-- don't copy subdir to avoid copying proprietary CVS files
-    <xsl:if test="@directory='true'">
-      <process source="{@href}" producer="directory">
-        <processor name="xslt">
-          <parameter name="stylesheet" value="sbk:/style/stylesheets/directory2project.xsl"/>
-          <parameter name="base" value="{$base}{@href}"/>
-        </processor>
-      </process>
-    </xsl:if>
--->    
-  </xsl:template>
-
+<?xml version="1.0"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+  <xsl:param name="base"/>
+
+  <xsl:template match="/">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="directory">
+    <project>
+      <xsl:apply-templates/>
+    </project>
+  </xsl:template>
+
+  <xsl:template match="entry">
+
+    <!--xsl:if test="@directory!='true'"-->
+      <resource source="{@href}" target="{$base}{@href}"/>
+    <!--/xsl:if-->
+<!-- don't copy subdir to avoid copying proprietary CVS files
+    <xsl:if test="@directory='true'">
+      <process source="{@href}" producer="directory">
+        <processor name="xslt">
+          <parameter name="stylesheet" value="sbk:/style/stylesheets/directory2project.xsl"/>
+          <parameter name="base" value="{$base}{@href}"/>
+        </processor>
+      </process>
+    </xsl:if>
+-->    
+  </xsl:template>
+
 </xsl:stylesheet>
\ No newline at end of file
diff --git a/stylebook/stylesheets/document2html.xsl b/stylebook/stylesheets/document2html.xsl
index 1c2de8f2..15b2f5ad 100644
--- a/stylebook/stylesheets/document2html.xsl
+++ b/stylebook/stylesheets/document2html.xsl
@@ -1,445 +1,445 @@
-<?xml version="1.0"?>
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
-  <xsl:param name="stylebook.project"/>
-  <xsl:param name="copyright"/>
-  <xsl:param name="id"/>
-
-  <xsl:template match="/">
-    <xsl:apply-templates/>
-  </xsl:template>
-
-  <xsl:template match="s1">
-    <html>
-      <head>
-        <script language="JavaScript" type="text/javascript" src="resources/script.js"/>
-        <title><xsl:value-of select="@title"/></title>
-      </head>
-      <body text="#000000" link="#0000ff" vlink="#0000aa" alink="#ff0000"
-            topmargin="4" leftmargin="4" marginwidth="4" marginheight="4"
-            bgcolor="#ffffff">
-        <!-- THE TOP BAR (HEADER) -->
-        <table width="620" cellspacing="0" cellpadding="0" border="0">
-          <tr>
-            <td width="135" height="60" rowspan="3" valign="top" align="left">
-              <img width="135" height="60" src="resources/logo.gif" alt="logo" hspace="0" vspace="0" border="0"/></td>
-            <td width="456" height="5" valign="top" align="left" colspan="4">
-              <img width="456" height="5" src="resources/line.gif" alt="line" hspace="0" vspace="0" border="0"/></td>
-            <td width="29" height="60"  rowspan="3" valign="top" align="left">
-              <img width="29" height="60" src="resources/right.gif" alt="right" hspace="0" vspace="0" border="0"/></td>
-          </tr>
-          <tr>
-            <td width="456" height="35" valign="top" align="left" colspan="4" bgcolor="#0086b2">
-              <img src="graphics/{$id}-header.jpg" width="456" height="35" hspace="0" vspace="0" border="0" alt="{s1/@title}"/></td>
-          </tr>
-          <tr>
-            <td width="168" height="20" valign="top" align="left">
-              <img width="168" height="20" src="resources/bottom.gif" alt="bottom" hspace="0" vspace="0" border="0"/></td>
-            <td width="96" height="20" valign="top" align="left">
-              <a href="http://xml.apache.org/" onMouseOver="rolloverOn('xml');" onMouseOut="rolloverOff('xml');" target="new">
-                <img alt="http://xml.apache.org/" width="96" height="20" src="resources/button-xml-lo.gif"
-                     name="xml" hspace="0" vspace="0" border="0"
-                     onLoad="rolloverLoad('xml','resources/button-xml-hi.gif','resources/button-xml-lo.gif');"/>
-              </a>
-            </td>
-            <td width="96" height="20" valign="top" align="left">
-              <a href="http://www.apache.org/" onMouseOver="rolloverOn('asf');" onMouseOut="rolloverOff('asf');" target="new">
-                <img alt="http://www.apache.org/" width="96" height="20" src="resources/button-asf-lo.gif"
-                     name="asf" hspace="0" vspace="0" border="0"
-                     onLoad="rolloverLoad('asf','resources/button-asf-hi.gif','resources/button-asf-lo.gif');"/>
-              </a>
-            </td>
-            <td width="96" height="20" valign="top" align="left">
-              <a href="http://www.w3.org/" onMouseOver="rolloverOn('w3c');" onMouseOut="rolloverOff('w3c');" target="new">
-                <img alt="http://www.w3.org/" width="96" height="20" src="resources/button-w3c-lo.gif"
-                     name="w3c" hspace="0" vspace="0" border="0"
-                     onLoad="rolloverLoad('w3c','resources/button-w3c-hi.gif','resources/button-w3c-lo.gif');"/>
-              </a>
-            </td>
-          </tr>
-        </table>
-        <!-- THE MAIN PANEL (SIDEBAR AND CONTENT) -->
-        <table width="620" cellspacing="0" cellpadding="0" border="0">
-          <tr>
-            <!-- THE SIDE BAR -->
-            <td width="120" valign="top" align="left">
-              <img width="120" height="14" src="resources/join.gif" alt="join" hspace="0" vspace="0" border="0"/><br/>
-                <xsl:apply-templates select="document($stylebook.project)"/>
-              <img width="120" height="14" src="resources/close.gif" alt="close" hspace="0" vspace="0" border="0"/><br/>
-            </td>
-            <!-- THE CONTENT PANEL -->
-            <td width="500" valign="top" align="left">
-              <table border="0" cellspacing="0" cellpadding="3">
-                <tr><td><xsl:apply-templates/></td></tr>
-              </table>
-            </td>
-          </tr>
-        </table><br/>
-        <table width="620" border="0" cellspacing="0" cellpadding="0">
-          <tr><td bgcolor="#0086b2"><img src="resources/dot.gif" alt="dot" width="1" height="1"/></td></tr>
-          <tr>
-            <td align="center"><font size="-1" color="#0086b2"><i>
-              Copyright &#169; <xsl:value-of select="$copyright"/>.
-              All Rights Reserved.
-            </i></font></td>
-          </tr>
-        </table>
-      </body>
-    </html>
-  </xsl:template>
-
-<!-- ###################################################################### -->
-<!-- book -->
-
-  <xsl:template match="book">
-    <xsl:apply-templates/>
-  </xsl:template>
-
-  <xsl:template match="document|faqs|changes|group">
-    <xsl:if test="@id=$id">
-      <img src="graphics/{@id}-label-1.jpg" width="120" height="12" hspace="0" vspace="0" border="0" alt="{@label}"/>
-    </xsl:if>
-    <xsl:if test="@id!=$id">
-      <a href="{@id}.html" onMouseOver="rolloverOn('side-{@id}');" onMouseOut="rolloverOff('side-{@id}');">
-        <img onLoad="rolloverLoad('side-{@id}','graphics/{@id}-label-2.jpg','graphics/{@id}-label-3.jpg');"
-             name="side-{@id}" src="graphics/{@id}-label-3.jpg" width="120" height="12" hspace="0" vspace="0" border="0" alt="{@label}"/>
-      </a>
-    </xsl:if>
-    <br/>
-  </xsl:template>
-
-  <xsl:template match="external">
-    <xsl:variable name="extid" select="concat('ext-',position())"/>
-    <a href="{@href}" onMouseOver="rolloverOn('side-{$extid}');" onMouseOut="rolloverOff('side-{$extid}');">
-      <img onLoad="rolloverLoad('side-{$extid}','graphics/{$extid}-label-2.jpg','graphics/{$extid}-label-3.jpg');"
-           name="side-{$extid}" src="graphics/{$extid}-label-3.jpg" width="120" height="12" hspace="0" vspace="0" border="0" alt="{@label}"/>
-    </a>
-    <br/>
-  </xsl:template>
-
-  <xsl:template match="separator">
-    <img src="resources/separator.gif" alt="separator" width="120" height="6" hspace="0" vspace="0" border="0"/><br/>
-  </xsl:template>
-
-
-<!-- ###################################################################### -->
-<!-- document -->
-
-  <xsl:template match="s2">
-    <table width="494" cellspacing="0" cellpadding="0" border="0">
-      <tr>
-        <td bgcolor="666699" colspan="2" width="494">
-          <table width="494" cellspacing="0" cellpadding="0" border="0">
-            <tr>
-              <td bgcolor="#039acc" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
-              <td bgcolor="#039acc" width="492" height="1"><img src="resources/void.gif" alt="" width="492" height="1" vspace="0" hspace="0" border="0"/></td>
-              <td bgcolor="#0086b2" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
-            </tr>
-            <tr>
-              <td bgcolor="#039acc" width="1"><img src="resources/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
-              <td bgcolor="#0086b2"  width="492">
-                <font size="+1" face="arial,helvetica,sanserif" color="#ffffff">
-                  <img src="resources/void.gif" alt="" width="2" height="2" vspace="0" hspace="0" border="0"/>
-                  <b><xsl:value-of select="@title"/></b>
-                </font>
-              </td>
-              <td bgcolor="#017299" width="1"><img src="resources/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
-            </tr>
-            <tr>
-              <td bgcolor="#0086b2" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
-              <td bgcolor="#017299" width="492" height="1"><img src="resources/void.gif" alt="" width="492" height="1" vspace="0" hspace="0" border="0"/></td>
-              <td bgcolor="#017299" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
-            </tr>
-          </table>
-        </td>
-      </tr>  
-      <tr>
-        <td width="10">&#160;</td>
-        <td width="484">
-          <font face="arial,helvetica,sanserif" color="#000000">
-            <xsl:apply-templates/>
-          </font>
-        </td>
-      </tr>  
-    </table>
-    <br/>
-  </xsl:template>
-
-  <xsl:template match="s3">
-    <table width="484" cellspacing="0" cellpadding="0" border="0">
-      <tr>
-        <td bgcolor="666699" colspan="2" width="484">
-          <table width="484" cellspacing="0" cellpadding="0" border="0">
-          <tr>
-            <td bgcolor="#039acc" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
-            <td bgcolor="#039acc" width="482" height="1"><img src="resources/void.gif" alt="" width="482" height="1" vspace="0" hspace="0" border="0"/></td>
-            <td bgcolor="#0086b2" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
-          </tr>
-          <tr>
-            <td bgcolor="#039acc" width="1"><img src="resources/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
-            <td bgcolor="#0086b2"  width="482">
-              <font face="arial,helvetica,sanserif" color="#ffffff">
-                <img src="resources/void.gif" alt="" width="2" height="2" vspace="0" hspace="0" border="0"/>
-                <b><xsl:value-of select="@title"/></b>
-              </font>
-            </td>
-            <td bgcolor="#017299" width="1"><img src="resources/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
-          </tr>
-          <tr>
-            <td bgcolor="#0086b2" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
-            <td bgcolor="#017299" width="482" height="1"><img src="resources/void.gif" alt="" width="482" height="1" vspace="0" hspace="0" border="0"/></td>
-            <td bgcolor="#017299" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
-          </tr>
-          </table>
-        </td>
-      </tr>  
-      <tr>
-        <td width="10">&#160;</td>
-        <td width="474">
-          <font size="-1" face="arial,helvetica,sanserif" color="#000000">
-            <xsl:apply-templates/>
-          </font>
-        </td>
-      </tr>  
-    </table>
-    <br/>
-  </xsl:template>
-
-  <xsl:template match="s4">
-    <table width="474" cellspacing="0" cellpadding="0" border="0">
-      <tr>
-        <td bgcolor="666699" colspan="2" width="484">
-          <table width="474" cellspacing="0" cellpadding="0" border="0">
-          <tr>
-            <td bgcolor="#039acc" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
-            <td bgcolor="#039acc" width="472" height="1"><img src="resources/void.gif" alt="" width="472" height="1" vspace="0" hspace="0" border="0"/></td>
-            <td bgcolor="#0086b2" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
-          </tr>
-          <tr>
-            <td bgcolor="#039acc" width="1"><img src="resources/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
-            <td bgcolor="#0086b2"  width="472">
-              <font size="-1" face="arial,helvetica,sanserif" color="#ffffff">
-                <img src="resources/void.gif" alt="" width="2" height="2" vspace="0" hspace="0" border="0"/>
-                <b><xsl:value-of select="@title"/></b>
-              </font>
-            </td>
-            <td bgcolor="#017299" width="1"><img src="resources/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
-          </tr>
-          <tr>
-            <td bgcolor="#0086b2" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
-            <td bgcolor="#017299" width="472" height="1"><img src="resources/void.gif" alt="" width="472" height="1" vspace="0" hspace="0" border="0"/></td>
-            <td bgcolor="#017299" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
-          </tr>
-          </table>
-        </td>
-      </tr>  
-      <tr>
-        <td width="10">&#160;</td>
-        <td width="464">
-          <font size="-1" face="arial,helvetica,sanserif" color="#000000">
-            <xsl:apply-templates/>
-          </font>
-        </td>
-      </tr>  
-    </table>
-    <br/>
-  </xsl:template>
-
-<!-- ###################################################################### -->
-<!-- blocks -->
-
-  <xsl:template match="p">
-    <p><xsl:apply-templates/></p>
-  </xsl:template>
-
-  <xsl:template match="note">
-    <table width="100%" cellspacing="3" cellpadding="0" border="0">
-      <tr>
-        <td width="20" valign="top">
-          <img src="resources/note.gif" width="20" height="24" vspace="0" hspace="0" border="0" alt="Note"/>
-        </td>
-        <td valign="top">
-          <font size="-1" face="arial,helvetica,sanserif" color="#000000">
-            <i>
-              <xsl:apply-templates/>
-            </i>
-          </font>
-        </td>
-      </tr>  
-    </table>
-  </xsl:template>
-
-  <xsl:template match="ul">
-    <ul><xsl:apply-templates/></ul>
-  </xsl:template>
-
-  <xsl:template match="ol">
-    <ol><xsl:apply-templates/></ol>
-  </xsl:template>
-
-  <xsl:template match="li">
-    <li><xsl:apply-templates/></li>
-  </xsl:template>
-  
-    <!--Definition lists: gloss, term, label, item -->
-  <xsl:template match="gloss">
-    <dl><xsl:apply-templates/></dl>
-  </xsl:template>
-   <!-- <term> contains a single-word, multi-word or symbolic 
-       designation which is regarded as a technical term. --> 
-  <xsl:template match="term">
-    <dfn><xsl:apply-templates/></dfn>
-  </xsl:template>
-  <xsl:template match="label" priority="1">
-    <dt><xsl:apply-templates/></dt>
-  </xsl:template>
-  <xsl:template match="item" priority="2">
-    <dd>
-      <xsl:apply-templates/>
-    </dd>
-  </xsl:template>
-
-  <xsl:template match="source">
-  <div align="right">
-  <table width="464" cellspacing="4" cellpadding="0" border="0">
-    <tr>
-      <td bgcolor="#0086b2" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
-      <td bgcolor="#0086b2" width="462" height="1"><img src="resources/void.gif" alt="" width="462" height="1" vspace="0" hspace="0" border="0"/></td>
-      <td bgcolor="#0086b2" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
-    </tr>
-    <tr>
-      <td bgcolor="#0086b2" width="1"><img src="resources/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
-      <td bgcolor="#ffffff"  width="462">
-          <font size="-1"><pre><xsl:apply-templates/></pre></font>
-      </td>
-      <td bgcolor="#0086b2" width="1"><img src="resources/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
-    </tr>
-    <tr>
-      <td bgcolor="#0086b2" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
-      <td bgcolor="#0086b2" width="462" height="1"><img src="resources/void.gif" alt="" width="462" height="1" vspace="0" hspace="0" border="0"/></td>
-      <td bgcolor="#0086b2" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
-    </tr>
-  </table>
-  </div>
-  </xsl:template>
-
-  <xsl:template match="table">
-    <table width="100%" border="0" cellspacing="2" cellpadding="2">
-      <xsl:apply-templates/>
-    </table>
-  </xsl:template>
-
-  <xsl:template match="tr">
-    <tr><xsl:apply-templates/></tr>
-  </xsl:template>
-
-  <xsl:template match="th">
-    <td bgcolor="#039acc" colspan="{@colspan}" rowspan="{@rowspan}" valign="center" align="center">
-      <font color="#ffffff" size="-1" face="arial,helvetica,sanserif">
-        <b><xsl:apply-templates/></b>&#160;
-      </font>
-    </td>
-  </xsl:template>
-
-  <xsl:template match="td">
-    <td bgcolor="#a0ddf0" colspan="{@colspan}" rowspan="{@rowspan}" valign="top" align="left">
-      <font color="#000000" size="-1" face="arial,helvetica,sanserif">
-        <xsl:apply-templates/>&#160;
-      </font>
-    </td>
-  </xsl:template>
-
-  <xsl:template match="tn">
-    <td bgcolor="#ffffff" colspan="{@colspan}" rowspan="{@rowspan}">
-      &#160;
-    </td>
-  </xsl:template>
-
-<!-- ###################################################################### -->
-<!-- markup -->
-
-  <xsl:template match="em">
-    <b><xsl:apply-templates/></b>
-  </xsl:template>
-
-  <xsl:template match="ref">
-    <i><xsl:apply-templates/></i>
-  </xsl:template>
-  
-  <xsl:template match="code">
-    <code><font face="courier, monospaced"><xsl:apply-templates/></font></code>
-  </xsl:template>
-  
-  <xsl:template match="br">
-    <br/>
-  </xsl:template>
-  
-<!-- ###################################################################### -->
-<!-- links -->
-
-  <xsl:template match="link">
-    <xsl:if test="string-length(@anchor)=0">
-      <xsl:if test="string-length(@idref)=0">
-        <xsl:apply-templates/>
-      </xsl:if>
-      <xsl:if test="string-length(@idref)>0">
-        <a href="{@idref}.html"><xsl:apply-templates/></a>
-      </xsl:if>
-    </xsl:if>
-
-    <xsl:if test="string-length(@anchor)>0">
-      <xsl:if test="string-length(@idref)=0">
-        <a href="#{@anchor}"><xsl:apply-templates/></a>
-      </xsl:if>
-      <xsl:if test="string-length(@idref)>0">
-        <a href="{@idref}.html#{@anchor}"><xsl:apply-templates/></a>
-      </xsl:if>
-    </xsl:if>
-  </xsl:template>
-
-  <xsl:template match="anchor">
-    <a name="{@name}"><xsl:comment>anchor</xsl:comment></a>
-  </xsl:template>
-
-  <xsl:template match="jump">
-    <a href="{@href}"><xsl:apply-templates/></a>
-  </xsl:template>
-
-  <xsl:template match="img">
-    <img src="images/{@src}" alt="{@alt}" border="0" vspace="4" hspace="4" align="right"/>
-    <br clear="all"/>
-  </xsl:template>
-
-  <xsl:template match="resource-ref">
-    <xsl:variable name="resourceFile" 
-          select="document($stylebook.project)/book/resources/@source"/>
-    <xsl:variable name="xref" select="@idref"/>
-    <xsl:variable name="href"
-          select="document($resourceFile)/resources/resource[@id=$xref]/@location"/>
-    <xsl:variable name="label"
-          select="document($resourceFile)/resources/resource[@id=$xref]/@title"/>
-    <A href="{$href}" target="_top"><xsl:value-of select="$label"/></A>
-  </xsl:template>
-
-  <xsl:template match="human-resource-ref">
-    <xsl:variable name="resourceFile" 
-          select="document($stylebook.project)/book/resources/@source"/>  
-    <xsl:variable name="ref"  select="@idref"/>
-    <xsl:variable name="mailto"
-          select="document($resourceFile)/resources/human-resource[@id=$ref]/@mailto"/>
-   <xsl:variable name="name"
-          select="document($resourceFile)/resources/human-resource[@id=$ref]/@name"/>                          
-    <A href="mailto:{$mailto}"><xsl:value-of select="$name"/></A>
-  </xsl:template>
-
-<!-- ###################################################################### -->
-<!-- copy
-
-  <xsl:template match="@*|node()">
-    <xsl:copy>
-      <xsl:apply-templates select="@*|node()"/>
-    </xsl:copy>
-  </xsl:template>
--->
-</xsl:stylesheet>
+<?xml version="1.0"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+  <xsl:param name="stylebook.project"/>
+  <xsl:param name="copyright"/>
+  <xsl:param name="id"/>
+
+  <xsl:template match="/">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="s1">
+    <html>
+      <head>
+        <script language="JavaScript" type="text/javascript" src="resources/script.js"/>
+        <title><xsl:value-of select="@title"/></title>
+      </head>
+      <body text="#000000" link="#0000ff" vlink="#0000aa" alink="#ff0000"
+            topmargin="4" leftmargin="4" marginwidth="4" marginheight="4"
+            bgcolor="#ffffff">
+        <!-- THE TOP BAR (HEADER) -->
+        <table width="620" cellspacing="0" cellpadding="0" border="0">
+          <tr>
+            <td width="135" height="60" rowspan="3" valign="top" align="left">
+              <img width="135" height="60" src="resources/logo.gif" alt="logo" hspace="0" vspace="0" border="0"/></td>
+            <td width="456" height="5" valign="top" align="left" colspan="4">
+              <img width="456" height="5" src="resources/line.gif" alt="line" hspace="0" vspace="0" border="0"/></td>
+            <td width="29" height="60"  rowspan="3" valign="top" align="left">
+              <img width="29" height="60" src="resources/right.gif" alt="right" hspace="0" vspace="0" border="0"/></td>
+          </tr>
+          <tr>
+            <td width="456" height="35" valign="top" align="left" colspan="4" bgcolor="#0086b2">
+              <img src="graphics/{$id}-header.jpg" width="456" height="35" hspace="0" vspace="0" border="0" alt="{s1/@title}"/></td>
+          </tr>
+          <tr>
+            <td width="168" height="20" valign="top" align="left">
+              <img width="168" height="20" src="resources/bottom.gif" alt="bottom" hspace="0" vspace="0" border="0"/></td>
+            <td width="96" height="20" valign="top" align="left">
+              <a href="http://xml.apache.org/" onMouseOver="rolloverOn('xml');" onMouseOut="rolloverOff('xml');" target="new">
+                <img alt="http://xml.apache.org/" width="96" height="20" src="resources/button-xml-lo.gif"
+                     name="xml" hspace="0" vspace="0" border="0"
+                     onLoad="rolloverLoad('xml','resources/button-xml-hi.gif','resources/button-xml-lo.gif');"/>
+              </a>
+            </td>
+            <td width="96" height="20" valign="top" align="left">
+              <a href="http://www.apache.org/" onMouseOver="rolloverOn('asf');" onMouseOut="rolloverOff('asf');" target="new">
+                <img alt="http://www.apache.org/" width="96" height="20" src="resources/button-asf-lo.gif"
+                     name="asf" hspace="0" vspace="0" border="0"
+                     onLoad="rolloverLoad('asf','resources/button-asf-hi.gif','resources/button-asf-lo.gif');"/>
+              </a>
+            </td>
+            <td width="96" height="20" valign="top" align="left">
+              <a href="http://www.w3.org/" onMouseOver="rolloverOn('w3c');" onMouseOut="rolloverOff('w3c');" target="new">
+                <img alt="http://www.w3.org/" width="96" height="20" src="resources/button-w3c-lo.gif"
+                     name="w3c" hspace="0" vspace="0" border="0"
+                     onLoad="rolloverLoad('w3c','resources/button-w3c-hi.gif','resources/button-w3c-lo.gif');"/>
+              </a>
+            </td>
+          </tr>
+        </table>
+        <!-- THE MAIN PANEL (SIDEBAR AND CONTENT) -->
+        <table width="620" cellspacing="0" cellpadding="0" border="0">
+          <tr>
+            <!-- THE SIDE BAR -->
+            <td width="120" valign="top" align="left">
+              <img width="120" height="14" src="resources/join.gif" alt="join" hspace="0" vspace="0" border="0"/><br/>
+                <xsl:apply-templates select="document($stylebook.project)"/>
+              <img width="120" height="14" src="resources/close.gif" alt="close" hspace="0" vspace="0" border="0"/><br/>
+            </td>
+            <!-- THE CONTENT PANEL -->
+            <td width="500" valign="top" align="left">
+              <table border="0" cellspacing="0" cellpadding="3">
+                <tr><td><xsl:apply-templates/></td></tr>
+              </table>
+            </td>
+          </tr>
+        </table><br/>
+        <table width="620" border="0" cellspacing="0" cellpadding="0">
+          <tr><td bgcolor="#0086b2"><img src="resources/dot.gif" alt="dot" width="1" height="1"/></td></tr>
+          <tr>
+            <td align="center"><font size="-1" color="#0086b2"><i>
+              Copyright &#169; <xsl:value-of select="$copyright"/>.
+              All Rights Reserved.
+            </i></font></td>
+          </tr>
+        </table>
+      </body>
+    </html>
+  </xsl:template>
+
+<!-- ###################################################################### -->
+<!-- book -->
+
+  <xsl:template match="book">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="document|faqs|changes|group">
+    <xsl:if test="@id=$id">
+      <img src="graphics/{@id}-label-1.jpg" width="120" height="12" hspace="0" vspace="0" border="0" alt="{@label}"/>
+    </xsl:if>
+    <xsl:if test="@id!=$id">
+      <a href="{@id}.html" onMouseOver="rolloverOn('side-{@id}');" onMouseOut="rolloverOff('side-{@id}');">
+        <img onLoad="rolloverLoad('side-{@id}','graphics/{@id}-label-2.jpg','graphics/{@id}-label-3.jpg');"
+             name="side-{@id}" src="graphics/{@id}-label-3.jpg" width="120" height="12" hspace="0" vspace="0" border="0" alt="{@label}"/>
+      </a>
+    </xsl:if>
+    <br/>
+  </xsl:template>
+
+  <xsl:template match="external">
+    <xsl:variable name="extid" select="concat('ext-',position())"/>
+    <a href="{@href}" onMouseOver="rolloverOn('side-{$extid}');" onMouseOut="rolloverOff('side-{$extid}');">
+      <img onLoad="rolloverLoad('side-{$extid}','graphics/{$extid}-label-2.jpg','graphics/{$extid}-label-3.jpg');"
+           name="side-{$extid}" src="graphics/{$extid}-label-3.jpg" width="120" height="12" hspace="0" vspace="0" border="0" alt="{@label}"/>
+    </a>
+    <br/>
+  </xsl:template>
+
+  <xsl:template match="separator">
+    <img src="resources/separator.gif" alt="separator" width="120" height="6" hspace="0" vspace="0" border="0"/><br/>
+  </xsl:template>
+
+
+<!-- ###################################################################### -->
+<!-- document -->
+
+  <xsl:template match="s2">
+    <table width="494" cellspacing="0" cellpadding="0" border="0">
+      <tr>
+        <td bgcolor="666699" colspan="2" width="494">
+          <table width="494" cellspacing="0" cellpadding="0" border="0">
+            <tr>
+              <td bgcolor="#039acc" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
+              <td bgcolor="#039acc" width="492" height="1"><img src="resources/void.gif" alt="" width="492" height="1" vspace="0" hspace="0" border="0"/></td>
+              <td bgcolor="#0086b2" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
+            </tr>
+            <tr>
+              <td bgcolor="#039acc" width="1"><img src="resources/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+              <td bgcolor="#0086b2"  width="492">
+                <font size="+1" face="arial,helvetica,sanserif" color="#ffffff">
+                  <img src="resources/void.gif" alt="" width="2" height="2" vspace="0" hspace="0" border="0"/>
+                  <b><xsl:value-of select="@title"/></b>
+                </font>
+              </td>
+              <td bgcolor="#017299" width="1"><img src="resources/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+            </tr>
+            <tr>
+              <td bgcolor="#0086b2" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
+              <td bgcolor="#017299" width="492" height="1"><img src="resources/void.gif" alt="" width="492" height="1" vspace="0" hspace="0" border="0"/></td>
+              <td bgcolor="#017299" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
+            </tr>
+          </table>
+        </td>
+      </tr>  
+      <tr>
+        <td width="10">&#160;</td>
+        <td width="484">
+          <font face="arial,helvetica,sanserif" color="#000000">
+            <xsl:apply-templates/>
+          </font>
+        </td>
+      </tr>  
+    </table>
+    <br/>
+  </xsl:template>
+
+  <xsl:template match="s3">
+    <table width="484" cellspacing="0" cellpadding="0" border="0">
+      <tr>
+        <td bgcolor="666699" colspan="2" width="484">
+          <table width="484" cellspacing="0" cellpadding="0" border="0">
+          <tr>
+            <td bgcolor="#039acc" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
+            <td bgcolor="#039acc" width="482" height="1"><img src="resources/void.gif" alt="" width="482" height="1" vspace="0" hspace="0" border="0"/></td>
+            <td bgcolor="#0086b2" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
+          </tr>
+          <tr>
+            <td bgcolor="#039acc" width="1"><img src="resources/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+            <td bgcolor="#0086b2"  width="482">
+              <font face="arial,helvetica,sanserif" color="#ffffff">
+                <img src="resources/void.gif" alt="" width="2" height="2" vspace="0" hspace="0" border="0"/>
+                <b><xsl:value-of select="@title"/></b>
+              </font>
+            </td>
+            <td bgcolor="#017299" width="1"><img src="resources/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+          </tr>
+          <tr>
+            <td bgcolor="#0086b2" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
+            <td bgcolor="#017299" width="482" height="1"><img src="resources/void.gif" alt="" width="482" height="1" vspace="0" hspace="0" border="0"/></td>
+            <td bgcolor="#017299" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
+          </tr>
+          </table>
+        </td>
+      </tr>  
+      <tr>
+        <td width="10">&#160;</td>
+        <td width="474">
+          <font size="-1" face="arial,helvetica,sanserif" color="#000000">
+            <xsl:apply-templates/>
+          </font>
+        </td>
+      </tr>  
+    </table>
+    <br/>
+  </xsl:template>
+
+  <xsl:template match="s4">
+    <table width="474" cellspacing="0" cellpadding="0" border="0">
+      <tr>
+        <td bgcolor="666699" colspan="2" width="484">
+          <table width="474" cellspacing="0" cellpadding="0" border="0">
+          <tr>
+            <td bgcolor="#039acc" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
+            <td bgcolor="#039acc" width="472" height="1"><img src="resources/void.gif" alt="" width="472" height="1" vspace="0" hspace="0" border="0"/></td>
+            <td bgcolor="#0086b2" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
+          </tr>
+          <tr>
+            <td bgcolor="#039acc" width="1"><img src="resources/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+            <td bgcolor="#0086b2"  width="472">
+              <font size="-1" face="arial,helvetica,sanserif" color="#ffffff">
+                <img src="resources/void.gif" alt="" width="2" height="2" vspace="0" hspace="0" border="0"/>
+                <b><xsl:value-of select="@title"/></b>
+              </font>
+            </td>
+            <td bgcolor="#017299" width="1"><img src="resources/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+          </tr>
+          <tr>
+            <td bgcolor="#0086b2" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
+            <td bgcolor="#017299" width="472" height="1"><img src="resources/void.gif" alt="" width="472" height="1" vspace="0" hspace="0" border="0"/></td>
+            <td bgcolor="#017299" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
+          </tr>
+          </table>
+        </td>
+      </tr>  
+      <tr>
+        <td width="10">&#160;</td>
+        <td width="464">
+          <font size="-1" face="arial,helvetica,sanserif" color="#000000">
+            <xsl:apply-templates/>
+          </font>
+        </td>
+      </tr>  
+    </table>
+    <br/>
+  </xsl:template>
+
+<!-- ###################################################################### -->
+<!-- blocks -->
+
+  <xsl:template match="p">
+    <p><xsl:apply-templates/></p>
+  </xsl:template>
+
+  <xsl:template match="note">
+    <table width="100%" cellspacing="3" cellpadding="0" border="0">
+      <tr>
+        <td width="20" valign="top">
+          <img src="resources/note.gif" width="20" height="24" vspace="0" hspace="0" border="0" alt="Note"/>
+        </td>
+        <td valign="top">
+          <font size="-1" face="arial,helvetica,sanserif" color="#000000">
+            <i>
+              <xsl:apply-templates/>
+            </i>
+          </font>
+        </td>
+      </tr>  
+    </table>
+  </xsl:template>
+
+  <xsl:template match="ul">
+    <ul><xsl:apply-templates/></ul>
+  </xsl:template>
+
+  <xsl:template match="ol">
+    <ol><xsl:apply-templates/></ol>
+  </xsl:template>
+
+  <xsl:template match="li">
+    <li><xsl:apply-templates/></li>
+  </xsl:template>
+  
+    <!--Definition lists: gloss, term, label, item -->
+  <xsl:template match="gloss">
+    <dl><xsl:apply-templates/></dl>
+  </xsl:template>
+   <!-- <term> contains a single-word, multi-word or symbolic 
+       designation which is regarded as a technical term. --> 
+  <xsl:template match="term">
+    <dfn><xsl:apply-templates/></dfn>
+  </xsl:template>
+  <xsl:template match="label" priority="1">
+    <dt><xsl:apply-templates/></dt>
+  </xsl:template>
+  <xsl:template match="item" priority="2">
+    <dd>
+      <xsl:apply-templates/>
+    </dd>
+  </xsl:template>
+
+  <xsl:template match="source">
+  <div align="right">
+  <table width="464" cellspacing="4" cellpadding="0" border="0">
+    <tr>
+      <td bgcolor="#0086b2" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
+      <td bgcolor="#0086b2" width="462" height="1"><img src="resources/void.gif" alt="" width="462" height="1" vspace="0" hspace="0" border="0"/></td>
+      <td bgcolor="#0086b2" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
+    </tr>
+    <tr>
+      <td bgcolor="#0086b2" width="1"><img src="resources/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+      <td bgcolor="#ffffff"  width="462">
+          <font size="-1"><pre><xsl:apply-templates/></pre></font>
+      </td>
+      <td bgcolor="#0086b2" width="1"><img src="resources/void.gif" alt="" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
+    </tr>
+    <tr>
+      <td bgcolor="#0086b2" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
+      <td bgcolor="#0086b2" width="462" height="1"><img src="resources/void.gif" alt="" width="462" height="1" vspace="0" hspace="0" border="0"/></td>
+      <td bgcolor="#0086b2" width="1"   height="1"><img src="resources/void.gif" alt="" width="1"   height="1" vspace="0" hspace="0" border="0"/></td>
+    </tr>
+  </table>
+  </div>
+  </xsl:template>
+
+  <xsl:template match="table">
+    <table width="100%" border="0" cellspacing="2" cellpadding="2">
+      <xsl:apply-templates/>
+    </table>
+  </xsl:template>
+
+  <xsl:template match="tr">
+    <tr><xsl:apply-templates/></tr>
+  </xsl:template>
+
+  <xsl:template match="th">
+    <td bgcolor="#039acc" colspan="{@colspan}" rowspan="{@rowspan}" valign="center" align="center">
+      <font color="#ffffff" size="-1" face="arial,helvetica,sanserif">
+        <b><xsl:apply-templates/></b>&#160;
+      </font>
+    </td>
+  </xsl:template>
+
+  <xsl:template match="td">
+    <td bgcolor="#a0ddf0" colspan="{@colspan}" rowspan="{@rowspan}" valign="top" align="left">
+      <font color="#000000" size="-1" face="arial,helvetica,sanserif">
+        <xsl:apply-templates/>&#160;
+      </font>
+    </td>
+  </xsl:template>
+
+  <xsl:template match="tn">
+    <td bgcolor="#ffffff" colspan="{@colspan}" rowspan="{@rowspan}">
+      &#160;
+    </td>
+  </xsl:template>
+
+<!-- ###################################################################### -->
+<!-- markup -->
+
+  <xsl:template match="em">
+    <b><xsl:apply-templates/></b>
+  </xsl:template>
+
+  <xsl:template match="ref">
+    <i><xsl:apply-templates/></i>
+  </xsl:template>
+  
+  <xsl:template match="code">
+    <code><font face="courier, monospaced"><xsl:apply-templates/></font></code>
+  </xsl:template>
+  
+  <xsl:template match="br">
+    <br/>
+  </xsl:template>
+  
+<!-- ###################################################################### -->
+<!-- links -->
+
+  <xsl:template match="link">
+    <xsl:if test="string-length(@anchor)=0">
+      <xsl:if test="string-length(@idref)=0">
+        <xsl:apply-templates/>
+      </xsl:if>
+      <xsl:if test="string-length(@idref)>0">
+        <a href="{@idref}.html"><xsl:apply-templates/></a>
+      </xsl:if>
+    </xsl:if>
+
+    <xsl:if test="string-length(@anchor)>0">
+      <xsl:if test="string-length(@idref)=0">
+        <a href="#{@anchor}"><xsl:apply-templates/></a>
+      </xsl:if>
+      <xsl:if test="string-length(@idref)>0">
+        <a href="{@idref}.html#{@anchor}"><xsl:apply-templates/></a>
+      </xsl:if>
+    </xsl:if>
+  </xsl:template>
+
+  <xsl:template match="anchor">
+    <a name="{@name}"><xsl:comment>anchor</xsl:comment></a>
+  </xsl:template>
+
+  <xsl:template match="jump">
+    <a href="{@href}"><xsl:apply-templates/></a>
+  </xsl:template>
+
+  <xsl:template match="img">
+    <img src="images/{@src}" alt="{@alt}" border="0" vspace="4" hspace="4" align="right"/>
+    <br clear="all"/>
+  </xsl:template>
+
+  <xsl:template match="resource-ref">
+    <xsl:variable name="resourceFile" 
+          select="document($stylebook.project)/book/resources/@source"/>
+    <xsl:variable name="xref" select="@idref"/>
+    <xsl:variable name="href"
+          select="document($resourceFile)/resources/resource[@id=$xref]/@location"/>
+    <xsl:variable name="label"
+          select="document($resourceFile)/resources/resource[@id=$xref]/@title"/>
+    <A href="{$href}" target="_top"><xsl:value-of select="$label"/></A>
+  </xsl:template>
+
+  <xsl:template match="human-resource-ref">
+    <xsl:variable name="resourceFile" 
+          select="document($stylebook.project)/book/resources/@source"/>  
+    <xsl:variable name="ref"  select="@idref"/>
+    <xsl:variable name="mailto"
+          select="document($resourceFile)/resources/human-resource[@id=$ref]/@mailto"/>
+   <xsl:variable name="name"
+          select="document($resourceFile)/resources/human-resource[@id=$ref]/@name"/>                          
+    <A href="mailto:{$mailto}"><xsl:value-of select="$name"/></A>
+  </xsl:template>
+
+<!-- ###################################################################### -->
+<!-- copy
+
+  <xsl:template match="@*|node()">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|node()"/>
+    </xsl:copy>
+  </xsl:template>
+-->
+</xsl:stylesheet>
diff --git a/stylebook/stylesheets/done.xsl b/stylebook/stylesheets/done.xsl
index cc1bb745..a7e4753f 100644
--- a/stylebook/stylesheets/done.xsl
+++ b/stylebook/stylesheets/done.xsl
@@ -1,67 +1,67 @@
-<?xml version="1.0" encoding="ISO-8859-1" ?>
-
-<!-- DOCTYPE xsl:stylesheet -->
-
-<!-- XSL Style sheet, DTD omitted -->
-
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-    xmlns:lxslt="http://xml.apache.org/xslt"
-    xmlns:redirect="org.apache.xalan.lib.Redirect"
-    extension-element-prefixes="redirect">
-
-  <xsl:output method="xml"/>
-  
-  <xsl:param name="xsltcdone" select="'.\XSLTCDONE'"/>
-  
-  <xsl:template match="Commits">
-  <xsl:comment>This XML fragment contains a list of source code updates to place in an &lt;s3&gt; section of readme.xml</xsl:comment>
-    <xsl:if test="count(Commit[@category='core'])>0">
-      <p> Core (Non-XSLTC) source code updates:</p>
-      <ul>
-      <xsl:for-each select="Commit[@category='core']">
-        <li><xsl:apply-templates select="Who|DateCommitted|Modified|Added|Removed|Log"/></li>
-      </xsl:for-each>
-      </ul>
-    </xsl:if>
-    <xsl:if test="count(Commit[@category='core'])=0">
-      <note>This release includes no updates of the non-XSLTC core source code.</note>
-    </xsl:if>
-    
-    <xsl:if test="count(Commit[@category='xsltc'])>0">
-      <redirect:write file="{$xsltcdone}">
-        <p>XSLTC source code updates:</p>
-        <ul>
-        <xsl:for-each select="Commit[@category='xsltc']">
-          <li><xsl:apply-templates select="Who|DateCommitted|Modified|Added|Removed|Log"/></li>
-        </xsl:for-each>
-        </ul>
-      </redirect:write>
-    </xsl:if>    
-    <xsl:if test="count(Commit[@category='xsltc'])=0">
-      <redirect:write file="{$xsltcdone}">
-        <note>This release includes no updates of the XSLTC source code.</note>
-      </redirect:write>
-    </xsl:if>
-    
-  </xsl:template>
-  
-  <xsl:template match="Who">
-    <ref>Committed by </ref><xsl:value-of select="."/>
-  </xsl:template>
-  <xsl:template match="DateCommitted">
-    <ref> on </ref><xsl:value-of select="."/><br/>
-  </xsl:template>    
-  <xsl:template match="Modified">    
-    <ref>Modified: </ref><xsl:value-of select="."/><br/>
-  </xsl:template>    
-  <xsl:template match="Added">    
-    <ref>Added: </ref><xsl:value-of select="."/><br/>
-  </xsl:template>    
-  <xsl:template match="Removed">    
-    <ref>Removed: </ref><xsl:value-of select="."/><br/>
-  </xsl:template>    
-    <xsl:template match="Log">    
-    <ref>Committer's log entry: </ref><xsl:value-of select="."/><br/><br/>
-  </xsl:template>
-  
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+
+<!-- DOCTYPE xsl:stylesheet -->
+
+<!-- XSL Style sheet, DTD omitted -->
+
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+    xmlns:lxslt="http://xml.apache.org/xslt"
+    xmlns:redirect="org.apache.xalan.lib.Redirect"
+    extension-element-prefixes="redirect">
+
+  <xsl:output method="xml"/>
+  
+  <xsl:param name="xsltcdone" select="'.\XSLTCDONE'"/>
+  
+  <xsl:template match="Commits">
+  <xsl:comment>This XML fragment contains a list of source code updates to place in an &lt;s3&gt; section of readme.xml</xsl:comment>
+    <xsl:if test="count(Commit[@category='core'])>0">
+      <p> Core (Non-XSLTC) source code updates:</p>
+      <ul>
+      <xsl:for-each select="Commit[@category='core']">
+        <li><xsl:apply-templates select="Who|DateCommitted|Modified|Added|Removed|Log"/></li>
+      </xsl:for-each>
+      </ul>
+    </xsl:if>
+    <xsl:if test="count(Commit[@category='core'])=0">
+      <note>This release includes no updates of the non-XSLTC core source code.</note>
+    </xsl:if>
+    
+    <xsl:if test="count(Commit[@category='xsltc'])>0">
+      <redirect:write file="{$xsltcdone}">
+        <p>XSLTC source code updates:</p>
+        <ul>
+        <xsl:for-each select="Commit[@category='xsltc']">
+          <li><xsl:apply-templates select="Who|DateCommitted|Modified|Added|Removed|Log"/></li>
+        </xsl:for-each>
+        </ul>
+      </redirect:write>
+    </xsl:if>    
+    <xsl:if test="count(Commit[@category='xsltc'])=0">
+      <redirect:write file="{$xsltcdone}">
+        <note>This release includes no updates of the XSLTC source code.</note>
+      </redirect:write>
+    </xsl:if>
+    
+  </xsl:template>
+  
+  <xsl:template match="Who">
+    <ref>Committed by </ref><xsl:value-of select="."/>
+  </xsl:template>
+  <xsl:template match="DateCommitted">
+    <ref> on </ref><xsl:value-of select="."/><br/>
+  </xsl:template>    
+  <xsl:template match="Modified">    
+    <ref>Modified: </ref><xsl:value-of select="."/><br/>
+  </xsl:template>    
+  <xsl:template match="Added">    
+    <ref>Added: </ref><xsl:value-of select="."/><br/>
+  </xsl:template>    
+  <xsl:template match="Removed">    
+    <ref>Removed: </ref><xsl:value-of select="."/><br/>
+  </xsl:template>    
+    <xsl:template match="Log">    
+    <ref>Committer's log entry: </ref><xsl:value-of select="."/><br/><br/>
+  </xsl:template>
+  
 </xsl:stylesheet>
\ No newline at end of file
diff --git a/stylebook/stylesheets/faqs2document.xsl b/stylebook/stylesheets/faqs2document.xsl
index 3c657fe0..032f1121 100644
--- a/stylebook/stylesheets/faqs2document.xsl
+++ b/stylebook/stylesheets/faqs2document.xsl
@@ -1,65 +1,65 @@
-<?xml version="1.0"?>
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
-  <xsl:template match="/">
-    <xsl:apply-templates/>
-  </xsl:template>
-
-  <xsl:template match="faqs">
-    <s1 title="{@title}">
-      <s2 title="Questions">
-      	<br/>
-        <xsl:apply-templates select="group" mode="index"/>
-        <ul>
-          <xsl:apply-templates select="faq" mode="index"/>
-        </ul>
-      </s2>
-      <s2 title="Answers">
-      	<br/>
-        <xsl:apply-templates select="group/faq"/>
-        <br/>
-        <xsl:apply-templates select="faq"/>
-      </s2>
-    </s1>
-  </xsl:template>
-
-  <xsl:template match="group" mode="index">
-    <xsl:value-of select="@title"/>
-    <ul>
-      <xsl:apply-templates select="faq" mode="index"/>
-    </ul>
-  </xsl:template>
-
-  <xsl:template match="faq" mode="index">
-    <li>
-      <link anchor="faq-{generate-id(.)}">
-        <xsl:if test="string-length(@title)=0">
-          <xsl:value-of select="q"/>
-        </xsl:if>
-        <xsl:if test="string-length(@title)>0">
-          <xsl:value-of select="@title"/>
-        </xsl:if>
-      </link>
-    </li>
-  </xsl:template>
-
-  <xsl:template match="faq">
-    <anchor name="faq-{generate-id(.)}"/>
-    <s3 title="{q}">
-      <br/>
-      <xsl:apply-templates select="a"/>
-    </s3>
-  </xsl:template>
-
-  <xsl:template match="a">
-    <xsl:apply-templates/>
-  </xsl:template>
-
-  <xsl:template match="@*|node()">
-    <xsl:copy>
-      <xsl:apply-templates select="@*|node()"/>
-    </xsl:copy>
-  </xsl:template>
-
-</xsl:stylesheet>
+<?xml version="1.0"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+  <xsl:template match="/">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="faqs">
+    <s1 title="{@title}">
+      <s2 title="Questions">
+      	<br/>
+        <xsl:apply-templates select="group" mode="index"/>
+        <ul>
+          <xsl:apply-templates select="faq" mode="index"/>
+        </ul>
+      </s2>
+      <s2 title="Answers">
+      	<br/>
+        <xsl:apply-templates select="group/faq"/>
+        <br/>
+        <xsl:apply-templates select="faq"/>
+      </s2>
+    </s1>
+  </xsl:template>
+
+  <xsl:template match="group" mode="index">
+    <xsl:value-of select="@title"/>
+    <ul>
+      <xsl:apply-templates select="faq" mode="index"/>
+    </ul>
+  </xsl:template>
+
+  <xsl:template match="faq" mode="index">
+    <li>
+      <link anchor="faq-{generate-id(.)}">
+        <xsl:if test="string-length(@title)=0">
+          <xsl:value-of select="q"/>
+        </xsl:if>
+        <xsl:if test="string-length(@title)>0">
+          <xsl:value-of select="@title"/>
+        </xsl:if>
+      </link>
+    </li>
+  </xsl:template>
+
+  <xsl:template match="faq">
+    <anchor name="faq-{generate-id(.)}"/>
+    <s3 title="{q}">
+      <br/>
+      <xsl:apply-templates select="a"/>
+    </s3>
+  </xsl:template>
+
+  <xsl:template match="a">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="@*|node()">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|node()"/>
+    </xsl:copy>
+  </xsl:template>
+
+</xsl:stylesheet>
diff --git a/stylebook/stylesheets/group2document.xsl b/stylebook/stylesheets/group2document.xsl
index 19e1515b..0c266513 100644
--- a/stylebook/stylesheets/group2document.xsl
+++ b/stylebook/stylesheets/group2document.xsl
@@ -1,31 +1,31 @@
-<?xml version="1.0"?>
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
-  <xsl:template match="/">
-    <xsl:apply-templates/>
-  </xsl:template>
-
-  <xsl:template match="group">
-    <s1 title="{@title}">
-      <xsl:apply-templates/>
-    </s1>
-  </xsl:template>
-
-  <xsl:template match="entry">
-    <s2 title="{@title}">
-      <p>
-        Read the <link idref="{@id}"><xsl:value-of select="@title"/></link>
-        document or jump directly to:
-      </p>
-      <ul>
-        <xsl:apply-templates/>
-      </ul>
-    </s2>
-  </xsl:template>
-
-  <xsl:template match="voice">
-    <li><link idref="{ancestor::*/@id}" anchor="faq-{position()}"><xsl:apply-templates/></link></li>
-  </xsl:template>
-
+<?xml version="1.0"?>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+  <xsl:template match="/">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="group">
+    <s1 title="{@title}">
+      <xsl:apply-templates/>
+    </s1>
+  </xsl:template>
+
+  <xsl:template match="entry">
+    <s2 title="{@title}">
+      <p>
+        Read the <link idref="{@id}"><xsl:value-of select="@title"/></link>
+        document or jump directly to:
+      </p>
+      <ul>
+        <xsl:apply-templates/>
+      </ul>
+    </s2>
+  </xsl:template>
+
+  <xsl:template match="voice">
+    <li><link idref="{ancestor::*/@id}" anchor="faq-{position()}"><xsl:apply-templates/></link></li>
+  </xsl:template>
+
 </xsl:stylesheet>
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xalan.apache.org
For additional commands, e-mail: commits-help@xalan.apache.org