forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r123891 - in forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output: . skin
Date Sun, 02 Jan 2005 16:42:06 GMT
Author: rgardler
Date: Sun Jan  2 08:42:04 2005
New Revision: 123891

URL: http://svn.apache.org/viewcvs?view=rev&rev=123891
Log:
Deployment of org.apache.forrest.plugin.pdf-output plugin (deployed by 'deploy' target of
plugin build script)
Added:
   forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/changes.rss
   forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/breadcrumbs-optimized.js
  (contents, props changed)
   forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/forrest.css.xslt  
(contents, props changed)
   forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/getBlank.js   (contents,
props changed)
   forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/menu.js   (contents,
props changed)
   forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/note.txt   (contents,
props changed)
   forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/profile.css   (contents,
props changed)
   forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/profile.css.xslt  
(contents, props changed)
   forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/screen.css
   forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/skinconf.xsl   (contents,
props changed)

Added: forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/changes.rss
Url: http://svn.apache.org/viewcvs/forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/changes.rss?view=auto&rev=123891
==============================================================================
--- (empty file)
+++ forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/changes.rss	Sun Jan  2
08:42:04 2005
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD
RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">
+<rss version="0.91"><channel><title>org.apache.forrest.plugin.pdf-output
Changes</title><link>http://forrest.apache.org/pluginschanges.html</link><description>org.apache.forrest.plugin.pdf-output
Changes</description><language>en-us</language><item><title>admin
add</title><link>http://forrest.apache.org/pluginschanges.html</link><description>admin
add
+              by 
+              RDG
+              :
+              
+        Extracted code from core of Forrest and placed in a plugin
+      </description></item></channel></rss>
\ No newline at end of file

Added: forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/breadcrumbs-optimized.js
Url: http://svn.apache.org/viewcvs/forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/breadcrumbs-optimized.js?view=auto&rev=123891
==============================================================================
--- (empty file)
+++ forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/breadcrumbs-optimized.js
Sun Jan  2 08:42:04 2005
@@ -0,0 +1,89 @@
+/*
+* Copyright 2002-2004 The Apache Software Foundation
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+var PREPREND_CRUMBS=new Array();
+var link1="@skinconfig.trail.link1.name@";
+var link2="@skinconfig.trail.link2.name@";
+var link3="@skinconfig.trail.link3.name@";
+if(!(link1=="")&&!link1.indexOf( "@" ) == 0){
+  PREPREND_CRUMBS.push( new Array( link1, @skinconfig.trail.link1.href@ ) ); }
+if(!(link2=="")&&!link2.indexOf( "@" ) == 0){
+  PREPREND_CRUMBS.push( new Array( link2, @skinconfig.trail.link2.href@ ) ); }
+if(!(link3=="")&&!link3.indexOf( "@" ) == 0){
+  PREPREND_CRUMBS.push( new Array( link3, @skinconfig.trail.link3.href@ ) ); }
+var DISPLAY_SEPARATOR=" &gt; ";
+var DISPLAY_PREPREND=" &gt; ";
+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: forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/forrest.css.xslt
Url: http://svn.apache.org/viewcvs/forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/forrest.css.xslt?view=auto&rev=123891
==============================================================================
--- (empty file)
+++ forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/forrest.css.xslt	Sun
Jan  2 08:42:04 2005
@@ -0,0 +1,83 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  <!-- This is not used by Forrest but makes it possible to debug the 
+       stylesheet in standalone editors -->
+  <xsl:output method = "text"  omit-xml-declaration="yes"  />
+
+<!--
+  If the skin doesn't override this, at least aural styles 
+  and extra-css are present 
+-->
+  <xsl:template match="skinconfig">
+
+   <xsl:call-template name="aural"/>
+   <xsl:call-template name="a-external"/>
+   <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="colors">
+   <xsl:apply-templates/>
+  </xsl:template>
+  
+  <xsl:template name="aural">
+
+/* ==================== aural ============================ */
+
+@media aural {
+  h1, h2, h3, h4, h5, h6 { voice-family: paul, male; stress: 20; richness: 90 }
+  h1 { pitch: x-low; pitch-range: 90 }
+  h2 { pitch: x-low; pitch-range: 80 }
+  h3 { pitch: low; pitch-range: 70 }
+  h4 { pitch: medium; pitch-range: 60 }
+  h5 { pitch: medium; pitch-range: 50 }
+  h6 { pitch: medium; pitch-range: 40 }
+  li, dt, dd { pitch: medium; richness: 60 }
+  dt { stress: 80 }
+  pre, code, tt { pitch: medium; pitch-range: 0; stress: 0; richness: 80 }
+  em { pitch: medium; pitch-range: 60; stress: 60; richness: 50 }
+  strong { pitch: medium; pitch-range: 60; stress: 90; richness: 90 }
+  dfn { pitch: high; pitch-range: 60; stress: 60 }
+  s, strike { richness: 0 }
+  i { pitch: medium; pitch-range: 60; stress: 60; richness: 50 }
+  b { pitch: medium; pitch-range: 60; stress: 90; richness: 90 }
+  u { richness: 0 }
+  
+  :link { voice-family: harry, male }
+  :visited { voice-family: betty, female }
+  :active { voice-family: betty, female; pitch-range: 80; pitch: x-high }
+}
+  </xsl:template>
+  
+  <xsl:template name="a-external">
+a.external  {
+  padding: 0 20px 0px 0px;
+	display:inline;
+  background-repeat: no-repeat;
+	background-position: center right;
+	background-image: url(images/external-link.gif);
+}
+  </xsl:template>
+  
+  <xsl:template match="extra-css">
+    <xsl:value-of select="."/>
+  </xsl:template>
+  
+  <xsl:template match="*"></xsl:template>
+  <xsl:template match="text()"></xsl:template>
+
+</xsl:stylesheet>

Added: forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/getBlank.js
Url: http://svn.apache.org/viewcvs/forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/getBlank.js?view=auto&rev=123891
==============================================================================
--- (empty file)
+++ forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/getBlank.js	Sun Jan
 2 08:42:04 2005
@@ -0,0 +1,31 @@
+/*
+* Copyright 2002-2004 The Apache Software Foundation
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+/**
+ * This script, when included in a html file and called from a form text field, will set
the value of this field to ""
+ * if the text value is still the standard value.
+ *
+ * Typical usage:
+ * <script type="text/javascript" language="JavaScript" src="getBlank.js"></script>
+ * <input type="text" id="query" value="Search the site:" onFocus="getBlank (this, 'Search
the site:');"/>
+ */
+<!--
+function getBlank (form, stdValue){
+if (form.value == stdValue){
+	form.value = '';
+	}
+return true;
+}
+//-->

Added: forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/menu.js
Url: http://svn.apache.org/viewcvs/forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/menu.js?view=auto&rev=123891
==============================================================================
--- (empty file)
+++ forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/menu.js	Sun Jan  2
08:42:04 2005
@@ -0,0 +1,49 @@
+/*
+* Copyright 2002-2004 The Apache Software Foundation
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+/**
+ * This script, when included in a html file, can be used to make collapsible menus
+ *
+ * Typical usage:
+ * <script type="text/javascript" language="JavaScript" src="menu.js"></script>
+ */
+
+if (document.getElementById){ 
+  document.write('<style type="text/css">.menuitemgroup{display: none;}</style>')
+}
+
+function SwitchMenu(obj)
+{
+  if(document.getElementById)  {
+    var el = document.getElementById(obj);
+    var title = document.getElementById(obj+'Title');
+
+    if(obj.indexOf("_selected_")==0&&el.style.display == ""){
+      //nicolaken: doesn't work :-(
+      //title.style.backgroundImage = "url('images/chapter_open.gif')";
+      el.style.display = "block";
+    }
+
+    if(el.style.display != "block"){ 
+      //nicolaken: doesn't work :-(
+      //title.style.backgroundImage = 'url([url]images/chapter_open.gif[/url])';
+      el.style.display = "block";
+    }else{
+      //nicolaken: doesn't work :-(
+      //title.style.backgroundImage = "url('images/chapter.gif')";
+      el.style.display = "none";
+    }
+  }// end -  if(document.getElementById) 
+}//end - function SwitchMenu(obj)

Added: forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/note.txt
Url: http://svn.apache.org/viewcvs/forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/note.txt?view=auto&rev=123891
==============================================================================
--- (empty file)
+++ forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/note.txt	Sun Jan 
2 08:42:04 2005
@@ -0,0 +1,50 @@
+Notes for developer:
+
+--Legend-------------------
+TODO -> blocker
+DONE -> blocker
+ToDo -> enhancement bug
+done -> enhancement bug
+
+--Issues-------------------
+- the corner images should be rendered through svg with the header color.
+-> DONE 
+-> ToDo: get rid of the images and use only divs!
+
+- the menu points should be displayed "better". 
+-> DONE
+-- Use the krysalis-site menu approach for the overall menu display.
+-> DONE
+-- Use the old lenya innermenu approch to further enhance the menu .
+-> DONE
+
+- the content area needs some attention.
+-> DONE
+-- introduce the heading scheme from krysalis (<headings type="clean|box|underlined"/>)
+-> DONE 
+-> ToDo: make box with round corners
+-> done: make underlined with variable border height
+-> ToDo: make underline with bottom round corner
+-- introduce the toc for each html-page
+-> DONE
+-- introduce the external-link-images.
+-> DONE
+
+- the publish note should be where now only a border is. 
+Like <div id="published"/>
+-> DONE
+, but make it configurable.
+-> DONE
+- footer needs some attention
+-> DONE
+-- the footer do not have the color profile! Enable it!
+-> DONE
+-- the footer should as well contain a feedback link. 
+See http://issues.apache.org/eyebrowse/ReadMsg?listName=forrest-user@xml.apache.org&msgNo=71
+-> DONE
+
+- introduce credits alternativ location
+-> DONE
+
+- border for published / breadtrail / menu /tab divs 
+-> ToDo
\ No newline at end of file

Added: forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/profile.css
Url: http://svn.apache.org/viewcvs/forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/profile.css?view=auto&rev=123891
==============================================================================
--- (empty file)
+++ forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/profile.css	Sun Jan
 2 08:42:04 2005
@@ -0,0 +1,152 @@
+
+
+/* ==================== aural ============================ */
+
+@media aural {
+  h1, h2, h3, h4, h5, h6 { voice-family: paul, male; stress: 20; richness: 90 }
+  h1 { pitch: x-low; pitch-range: 90 }
+  h2 { pitch: x-low; pitch-range: 80 }
+  h3 { pitch: low; pitch-range: 70 }
+  h4 { pitch: medium; pitch-range: 60 }
+  h5 { pitch: medium; pitch-range: 50 }
+  h6 { pitch: medium; pitch-range: 40 }
+  li, dt, dd { pitch: medium; richness: 60 }
+  dt { stress: 80 }
+  pre, code, tt { pitch: medium; pitch-range: 0; stress: 0; richness: 80 }
+  em { pitch: medium; pitch-range: 60; stress: 60; richness: 50 }
+  strong { pitch: medium; pitch-range: 60; stress: 90; richness: 90 }
+  dfn { pitch: high; pitch-range: 60; stress: 60 }
+  s, strike { richness: 0 }
+  i { pitch: medium; pitch-range: 60; stress: 60; richness: 50 }
+  b { pitch: medium; pitch-range: 60; stress: 90; richness: 90 }
+  u { richness: 0 }
+  
+  :link { voice-family: harry, male }
+  :visited { voice-family: betty, female }
+  :active { voice-family: betty, female; pitch-range: 80; pitch: x-high }
+}
+  
+a.external  {
+  padding: 0 20px 0px 0px;
+	display:inline;
+  background-repeat: no-repeat;
+	background-position: center right;
+	background-image: url(images/external-link.gif);
+}
+  
+    
+    p.quote {
+      margin-left: 2em;
+      padding: .5em;
+      background-color: #f0f0f0;
+      font-family: monospace;
+    }
+  
+#top          { background-color: #FFFFFF;}  
+ 
+#top .header .current { background-color: #4C6C8F;} 
+#top .header .current a:link {  color: #ffffff;  }
+#top .header .current a:visited { color: #ffffff; }
+#top .header .current a:hover { color: #ffffff; }
+ 
+#tabs li      { background-color: #E5E4D9 ;} 
+#tabs li a:link {  color: #000000;  }
+#tabs li a:visited { color: #000000; }
+#tabs li a:hover { color: #000000; }
+
+#level2tabs       { background-color: #4C6C8F ;} 
+#level2tabs a:link {  color: #ffffff;  }
+#level2tabs a:visited { color: #ffffff; }
+#level2tabs a:hover { color: #ffffff; }
+
+.heading { background-color: #E5E4D9;} 
+
+.boxed { background-color: #E5E4D9;} 
+.underlined_5 	{border-bottom: solid 5px #E5E4D9;}
+.underlined_10 	{border-bottom: solid 10px #E5E4D9;}
+table caption { 
+background-color: #E5E4D9; 
+color: #000000;
+}
+    
+#feedback {
+color: #FFFFFF;
+background: #4C6C8F;
+text-align: center;
+}
+#feedback #feedbackto {
+color: #FFFFFF;
+}   
+
+#publishedStrip { 
+color: #FFFFFF;
+background: #4C6C8F; 
+}
+
+#publishedStrip { 
+color: #000000;
+background: #E5E4D9; 
+}
+
+#menu .menupagetitle  { background-color: #CFDCED}
+
+#menu           { border-color: #999999;}
+#menu .menupagetitle  { border-color: #999999;}
+#menu .menupageitemgroup  { border-color: #999999;}
+
+#menu      { background-color: #4C6C8F;} 
+#menu  {  color: #ffffff;} 
+#menu a:link {  color: #ffffff;} 
+#menu a:visited {  color: #ffffff;} 
+#menu a:hover {  
+background-color: #4C6C8F;
+color: #ffffff;} 
+
+#menu h1 {
+color: #000000;
+background-color: #cfdced;
+}   
+ 
+#top .searchbox { 
+background-color: #E5E4D9 ;
+color: #000000; 
+} 
+ 
+#menu .menupagetitle  { color: #000000;}    
+#menu .menupageitemgroup     { 
+background-color: #E5E4D9;
+}
+#menu .menupageitem {
+color: #000000;
+} 
+#menu .menupageitem a:link {  color: #000000;} 
+#menu .menupageitem a:visited {  color: #000000;} 
+#menu .menupageitem a:hover {  
+background-color: #E5E4D9;
+color: #000000;
+}
+
+body{ 
+background-color: #ffffff;
+color: #000000;
+} 
+a:link { color:#0000ff} 
+a:visited { color:#0000ff} 
+a:hover { color:#0000ff} 
+
+ 
+.ForrestTable      { background-color: #ccc;} 
+ 
+.ForrestTable td   { background-color: #ffffff;} 
+ 
+.highlight        { background-color: #ffff00;} 
+ 
+.fixme        { border-color: #c60;} 
+ 
+.note         { border-color: #069;} 
+ 
+.warning         { border-color: #900;} 
+ 
+.code         { border-color: #a5b6c6;} 
+ 
+#footer       { background-color: #E5E4D9;} 

Added: forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/profile.css.xslt
Url: http://svn.apache.org/viewcvs/forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/profile.css.xslt?view=auto&rev=123891
==============================================================================
--- (empty file)
+++ forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/profile.css.xslt	Sun
Jan  2 08:42:04 2005
@@ -0,0 +1,207 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+  <xsl:import href="../../common/css/forrest.css.xslt"/>
+
+  <!-- This is not used by Forrest but makes it possible to debug the 
+       stylesheet in standalone editors -->
+  <xsl:output method = "text"  omit-xml-declaration="yes"  />
+  
+<!-- ==================== main block colors ============================ -->
+
+<xsl:template match="color[@name='header']">
+#top          { background-color: <xsl:value-of select="@value"/>;}  
+</xsl:template>
+
+<xsl:template match="color[@name='tab-selected']"> 
+#top .header .current { background-color: <xsl:value-of select="@value"/>;} 
+#top .header .current a:link {  color: <xsl:value-of select="@link"/>;  }
+#top .header .current a:visited { color: <xsl:value-of select="@vlink"/>; }
+#top .header .current a:hover { color: <xsl:value-of select="@hlink"/>; }
+</xsl:template> 
+
+<xsl:template match="color[@name='tab-unselected']"> 
+#tabs li      { background-color: <xsl:value-of select="@value"/> ;} 
+#tabs li a:link {  color: <xsl:value-of select="@link"/>;  }
+#tabs li a:visited { color: <xsl:value-of select="@vlink"/>; }
+#tabs li a:hover { color: <xsl:value-of select="@hlink"/>; }
+</xsl:template> 
+
+<xsl:template match="color[@name='subtab-selected']">
+#level2tabs       { background-color: <xsl:value-of select="@value"/> ;} 
+#level2tabs a:link {  color: <xsl:value-of select="@link"/>;  }
+#level2tabs a:visited { color: <xsl:value-of select="@vlink"/>; }
+#level2tabs a:hover { color: <xsl:value-of select="@hlink"/>; }
+</xsl:template> 
+
+<!--xsl:template match="color[@name='subtab-unselected']">
+.level2tabstrip { background-color: <xsl:value-of select="@value"/>;}
+.datenote { background-color: <xsl:value-of select="@value"/>;} 
+.level2tabstrip.unselected a:link {  color: <xsl:value-of select="@link"/>;  }
+.level2tabstrip.unselected a:visited { color: <xsl:value-of select="@vlink"/>; }
+.level2tabstrip.unselected a:hover { color: <xsl:value-of select="@hlink"/>; }
+</xsl:template--> 
+
+<xsl:template match="color[@name='heading']">
+.heading { background-color: <xsl:value-of select="@value"/>;} 
+</xsl:template> 
+
+<xsl:template match="color[@name='subheading']">
+.boxed { background-color: <xsl:value-of select="@value"/>;} 
+.underlined_5 	{border-bottom: solid 5px <xsl:value-of select="@value"/>;}
+.underlined_10 	{border-bottom: solid 10px <xsl:value-of select="@value"/>;}
+table caption { 
+background-color: <xsl:value-of select="@value"/>; 
+color: <xsl:value-of select="@font"/>;
+}
+</xsl:template> 
+<xsl:template match="color[@name='feedback']">    
+#feedback {
+color: <xsl:value-of select="@font"/>;
+background: <xsl:value-of select="@value"/>;
+text-align: <xsl:value-of select="@align"/>;
+}
+#feedback #feedbackto {
+color: <xsl:value-of select="@font"/>;
+}   
+</xsl:template>
+
+<xsl:template match="color[@name='breadtrail']">
+#main .breadtrail {
+background: <xsl:value-of select="@value"/>; 
+color: <xsl:value-of select="@font"/>;
+}
+#main .breadtrail a:link {  color: <xsl:value-of select="@link"/>;  }
+#main .breadtrail a:visited { color: <xsl:value-of select="@vlink"/>; }
+#main .breadtrail a:hover { color: <xsl:value-of select="@hlink"/>; }
+#top .breadtrail {
+background: <xsl:value-of select="@value"/>; 
+color: <xsl:value-of select="@font"/>;
+}
+#top .breadtrail a:link {  color: <xsl:value-of select="@link"/>;  }
+#top .breadtrail a:visited { color: <xsl:value-of select="@vlink"/>; }
+#top .breadtrail a:hover { color: <xsl:value-of select="@hlink"/>; }    
+</xsl:template>
+<!--Fix for other (old) profiles-->
+<xsl:template match="color[@name='navstrip']">
+#publishedStrip { 
+color: <xsl:value-of select="@font"/>;
+background: <xsl:value-of select="@value"/>; 
+}
+</xsl:template> 
+<!--has to go after the nav-strip (no 'navstrip')-->
+<xsl:template match="color[@name='published']">
+#publishedStrip { 
+color: <xsl:value-of select="@font"/>;
+background: <xsl:value-of select="@value"/>; 
+}
+</xsl:template> 
+<xsl:template match="color[@name='toolbox']">
+#menu .menupagetitle  { background-color: <xsl:value-of select="@value"/>}
+</xsl:template> 
+
+<xsl:template match="color[@name='border']">
+#menu           { border-color: <xsl:value-of select="@value"/>;}
+#menu .menupagetitle  { border-color: <xsl:value-of select="@value"/>;}
+#menu .menupageitemgroup  { border-color: <xsl:value-of select="@value"/>;}
+</xsl:template> 
+
+<xsl:template match="color[@name='menu']">
+#menu      { background-color: <xsl:value-of select="@value"/>;} 
+#menu  {  color: <xsl:value-of select="@font"/>;} 
+#menu a:link {  color: <xsl:value-of select="@link"/>;} 
+#menu a:visited {  color: <xsl:value-of select="@vlink"/>;} 
+#menu a:hover {  
+background-color: <xsl:value-of select="@value"/>;
+color: <xsl:value-of select="@hlink"/>;} 
+</xsl:template> 
+<xsl:template match="color[@name='dialog']"> 
+#menu .menupagetitle  { color: <xsl:value-of select="@font"/>;}    
+#menu .menupageitemgroup     { 
+background-color: <xsl:value-of select="@value"/>;
+}
+#menu .menupageitem {
+color: <xsl:value-of select="@font"/>;
+} 
+#menu .menupageitem a:link {  color: <xsl:value-of select="@link"/>;} 
+#menu .menupageitem a:visited {  color: <xsl:value-of select="@vlink"/>;} 
+#menu .menupageitem a:hover {  
+background-color: <xsl:value-of select="@value"/>;
+color: <xsl:value-of select="@hlink"/>;
+}
+</xsl:template> 
+<xsl:template match="color[@name='menuheading']">
+#menu h1 {
+color: <xsl:value-of select="@font"/>;
+background-color: <xsl:value-of select="@value"/>;
+}   
+</xsl:template> 
+<xsl:template match="color[@name='searchbox']"> 
+#top .searchbox { 
+background-color: <xsl:value-of select="@value"/> ;
+color: <xsl:value-of select="@font"/>; 
+} 
+</xsl:template>
+
+<xsl:template match="color[@name='body']">
+body{ 
+background-color: <xsl:value-of select="@value"/>;
+color: <xsl:value-of select="@font"/>;
+} 
+a:link { color:<xsl:value-of select="@link"/>} 
+a:visited { color:<xsl:value-of select="@vlink"/>} 
+a:hover { color:<xsl:value-of select="@hlink"/>} 
+
+</xsl:template>
+
+<xsl:template match="color[@name='footer']"> 
+#footer       { background-color: <xsl:value-of select="@value"/>;} 
+</xsl:template> 
+
+
+<!-- ==================== other colors ============================ -->
+<xsl:template match="color[@name='highlight']"> 
+.highlight        { background-color: <xsl:value-of select="@value"/>;} 
+</xsl:template> 
+
+<xsl:template match="color[@name='fixme']"> 
+.fixme        { border-color: <xsl:value-of select="@value"/>;} 
+</xsl:template> 
+
+<xsl:template match="color[@name='note']"> 
+.note         { border-color: <xsl:value-of select="@value"/>;} 
+</xsl:template> 
+
+<xsl:template match="color[@name='warning']"> 
+.warning         { border-color: <xsl:value-of select="@value"/>;} 
+</xsl:template>
+
+<xsl:template match="color[@name='code']"> 
+.code         { border-color: <xsl:value-of select="@value"/>;} 
+</xsl:template> 
+
+<xsl:template match="color[@name='table']"> 
+.ForrestTable      { background-color: <xsl:value-of select="@value"/>;} 
+</xsl:template> 
+
+<xsl:template match="color[@name='table-cell']"> 
+.ForrestTable td   { background-color: <xsl:value-of select="@value"/>;} 
+</xsl:template> 
+
+
+</xsl:stylesheet>

Added: forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/screen.css
Url: http://svn.apache.org/viewcvs/forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/screen.css?view=auto&rev=123891
==============================================================================
--- (empty file)
+++ forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/screen.css	Sun Jan
 2 08:42:04 2005
@@ -0,0 +1,519 @@
+/*

+* Copyright 2002-2004 The Apache Software Foundation

+*

+* Licensed under the Apache License, Version 2.0 (the "License");

+* you may not use this file except in compliance with the License.

+* You may obtain a copy of the License at

+*

+*     http://www.apache.org/licenses/LICENSE-2.0

+*

+* Unless required by applicable law or agreed to in writing, software

+* distributed under the License is distributed on an "AS IS" BASIS,

+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

+* See the License for the specific language governing permissions and

+* limitations under the License.

+*/

+body {  margin: 0px 0px 0px 0px; font-family: Verdana, Helvetica, sans-serif; }

+

+h1     { font-size : 160%; margin: 0px 0px 0px 0px;  padding: 0px; }

+h2     { font-size : 140%; margin: 0.9em 0px 0px 0px; padding: 0px; font-weight : bold;}

+h3     { font-size : 130%; margin: 0.8em 0px 0px 0px; padding: 0px; font-weight : bold; }

+.h3 { margin: 22px 0px 3px 0px; }

+h4     { font-size : 120%; margin: 0.7em 0px 0px 0px; padding: 0px; font-weight : normal;
text-align: left; }

+.h4 { margin: 18px 0px 0px 0px; }

+h4.faq { font-size : 120%; margin: 18px 0px 0px 0px; padding: 0px; font-weight : bold;  
text-align: left; }

+h5     { font-size : 100%; margin: 14px 0px 0px 0px; padding: 0px; font-weight : normal;
text-align: left; }

+

+/**

+* table

+*/

+table .title { background-color: #000000; }

+.ForrestTable         {

+    color: #ffffff;

+    background-color: #7099C5;

+    width: 100%;

+    font-size : 100%;

+    empty-cells: show;

+}

+table caption {

+    padding-left: 5px;

+    color: white;

+    text-align: left;

+    font-weight: bold;

+    background-color: #000000;

+}

+.ForrestTable td {

+    color: black;

+    background-color: #f0f0ff;

+}

+.ForrestTable th { text-align: center; }

+/**

+ * Page Header

+ */

+

+#top {

+    position: relative;

+    float: left;

+    width: 100%;

+    background: #294563; /* if you want a background in the header, put it here */

+}

+

+#top .breadtrail {

+    background: #CFDCED;

+    color: black;

+    border-bottom: solid 1px white;

+    padding: 3px 10px;

+    font-size: 75%;

+}

+#top .breadtrail a { color: black; }

+

+#top .header {

+    float: left;

+    width: 100%;

+    background: url("images/header_white_line.gif") repeat-x bottom;

+}

+

+#top .grouplogo {

+    padding: 7px 0 10px 10px;

+    float: left;

+    text-align: left;

+}

+#top .projectlogo {

+    padding: 7px 0 10px 10px;

+    float: left;

+    width: 33%;

+    text-align: right;

+}

+#top .projectlogoA1 {

+    padding: 7px 0 10px 10px;

+    float: right;

+}

+html>body #top .searchbox {

+    bottom: 0px;

+}

+#top .searchbox {

+    position: absolute;

+    right: 10px;

+    height: 42px;

+    font-size: 70%;

+    white-space: nowrap;

+    text-align: right;

+    color: white;

+    background-color: #000000;

+    z-index:0;

+    background-image: url(images/rc-t-l-5-1header-2searchbox-3searchbox.png);

+    background-repeat: no-repeat;

+    background-position: top left;

+    bottom: -1px; /* compensate for IE rendering issue */

+}

+

+#top .searchbox form {

+    padding: 5px 10px;

+    margin: 0;

+}

+#top .searchbox p {

+    padding: 0 0 2px 0;

+    margin: 0;

+}

+#top .searchbox input {

+    font-size: 100%;

+}

+

+#tabs {

+    clear: both;

+    padding-left: 10px;

+    margin: 0;

+    list-style: none;

+}

+/*    background: #CFDCED url("images/tab-right.gif") no-repeat right top;*/

+#tabs li {

+    float: left;

+    background-image: url(images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png);

+    background-repeat: no-repeat;

+    background-position: top right;

+    background-color: #000000;

+    margin: 0 3px 0 0;

+    padding: 0;

+}

+

+/*background: url("images/tab-left.gif") no-repeat left top;*/

+#tabs li a {

+    float: left;

+    display: block;

+    font-family: verdana, arial, sans-serif;

+    text-decoration: none;

+    color: black;

+    white-space: nowrap;

+    background-image: url(images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png);

+    background-repeat: no-repeat;

+    background-position: top left;

+    padding: 5px 15px 4px;

+    width: .1em; /* IE/Win fix */

+}

+

+#tabs > li a { width: auto; } /* Rest of IE/Win fix */

+

+/* Commented Backslash Hack hides rule from IE5-Mac \*/

+#tabs a { float: none; }

+/* End IE5-Mac hack */

+

+#top .header .current {

+    background-color: #4C6C8F;

+    background-image: url(images/rc-t-r-5-1header-2tab-selected-3tab-selected.png);

+    background-repeat: no-repeat;

+    background-position: top right;

+}

+#top .header .current a {

+    font-weight: bold;

+    padding-bottom: 5px;

+    color: white;

+    background-image: url(images/rc-t-l-5-1header-2tab-selected-3tab-selected.png);

+    background-repeat: no-repeat;

+    background-position: top left;

+}

+#publishedStrip {

+    padding-right: 10px;

+    padding-left: 20px;

+    padding-top: 3px;

+    padding-bottom:3px;

+    color: #ffffff;

+    font-size : 60%;

+    font-weight: bold;

+    background-color: #4C6C8F;

+    text-align:right;

+}

+

+#level2tabs {

+margin: 0;

+float:left;

+position:relative;

+}

+

+/*

+*    border-top: solid #4C6C8F 15px;

+*/

+#main {

+    position: relative;

+    background: white;

+    clear:both;

+}

+#main .breadtrail {

+    clear:both;

+    position: relative;

+    background: #CFDCED;

+    color: black;

+    border-bottom: solid 1px black;

+    border-top: solid 1px black;

+    padding: 0px 180px;

+    font-size: 75%;

+    z-index:10;

+}

+/**

+* Round corner

+*/

+#roundtop {

+    background-image: url(images/rc-t-r-15-1body-2menu-3menu.png);

+    background-repeat: no-repeat;

+    background-position: top right;

+}

+

+#roundbottom {

+    background-image: url(images/rc-b-r-15-1body-2menu-3menu.png);

+    background-repeat: no-repeat;

+    background-position: top right;

+}

+

+img.corner {

+   width: 15px;

+   height: 15px;

+   border: none;

+   display: block !important;

+}

+

+.roundtopsmall {

+    background-image: url(images/rc-t-r-5-1header-2searchbox-3searchbox.png);

+    background-repeat: no-repeat;

+    background-position: top right;

+}

+

+#roundbottomsmall {

+    background-image: url(images/rc-b-r-5-1header-2tab-selected-3tab-selected.png);

+    background-repeat: no-repeat;

+    background-position: top right;

+}

+

+img.cornersmall {

+   width: 5px;

+   height: 5px;

+   border: none;

+   display: block !important;

+}

+/**

+ * Side menu

+ */

+#menu a {  font-weight: normal;}

+#menu a:visited {  font-weight: normal; }

+#menu a:active {  font-weight: normal; }

+#menu a:hover {  font-weight: normal; }

+

+#menuarea { width:10em;}

+#menu {

+    position: relative;

+    float: left;

+    width: 160px;

+    padding-top: 0px;

+    top:-18px;

+    left:10px;

+    z-index: 20;

+    background-color: #f90;

+    font-size : 70%;

+}

+

+.menutitle {

+        cursor:pointer;

+        padding: 3px 12px;

+        margin-left: 10px;

+        background-image: url('images/chapter.gif');

+        background-repeat: no-repeat;

+        background-position: center left;

+        font-weight : bold;

+}

+

+#menu .menuitemgroup {

+        margin: 0px 0px 6px 8px;

+        padding: 0px;

+        font-weight : bold; }

+

+#menu .selectedmenuitemgroup{

+        margin: 0px 0px 6px 8px;

+        padding: 0px;

+        font-weight : bold; }

+

+#menu .menuitem {

+        padding: 0px 0px 2px 12px;

+        background-image: url('images/page.gif');

+        background-repeat: no-repeat;

+        background-position: center left;

+        font-weight : normal;

+        margin-left: 10px;

+}

+

+#menu .menupage {

+        margin: 5px 0px 5px 10px;

+        padding: 0px 3px 0px 12px;

+        background-image: url('images/current.gif');

+        background-repeat: no-repeat;

+        background-position: top left;

+        font-style : normal;

+}

+#menu .menupagetitle {

+        padding: 0px 0px 0px 6px;

+        font-style : normal;

+        border-style: solid;

+        border-width: 1px;

+        margin-right: 10px;

+}

+#menu .menupageitemgroup {

+        padding: 3px 0px 4px 6px;

+        font-style : normal;

+        border-bottom: 1px solid ;

+        border-left: 1px solid ;

+        border-right: 1px solid ;

+        margin-right: 10px;

+}

+#menu .menupageitem {

+        font-style : normal;

+        font-weight : normal;

+        border-width: 0px;

+        font-size : 90%;

+}

+#menu #credit {

+    text-align: center;

+}

+

+#content {

+    padding: 20px 20px 20px 180px;

+    margin: 0;

+    font : small Verdana, Helvetica, sans-serif;

+    font-size : 80%;

+}

+

+#content ul {

+    margin: 0;

+    padding: 0 25px;

+}

+#content li {

+    padding: 0 5px;

+}

+#feedback {

+    color: black;

+    background: #CFDCED;

+    text-align:center;

+    margin-top: 5px;

+}

+#feedback #feedbackto {

+    font-size: 90%;

+    color: black;

+}

+#footer {

+    clear: both;

+    position: relative; /* IE bugfix (http://www.dracos.co.uk/web/css/ie6floatbug/) */

+    width: 100%;

+    background: #CFDCED;

+    border-top: solid 1px #4C6C8F;

+    color: black;

+}

+#footer .copyright {

+    position: relative; /* IE bugfix cont'd */

+    padding: 5px;

+    margin: 0;

+    width: 45%;

+}

+#footer .lastmodified {

+    position: relative; /* IE bugfix cont'd */

+    float: right;

+    width: 45%;

+    padding: 5px;

+    margin: 0;

+    text-align: right;

+}

+#footer a { color: white; }

+

+#footer #logos {

+    text-align: left;

+}

+

+

+/**

+ * Misc Styles

+ */

+

+acronym { cursor: help; }

+.boxed      { background-color: #a5b6c6;}

+.underlined_5     {border-bottom: solid 5px #4C6C8F;}

+.underlined_10     {border-bottom: solid 10px #4C6C8F;}

+/* ==================== snail trail ============================ */

+

+.trail {

+  position: relative; /* IE bugfix cont'd */

+  font-size: 70%;

+  text-align: right;

+  float: right;

+  margin: -10px 5px 0px 5px;

+  padding: 0;

+}

+

+#minitoc-area {

+    border-top: solid 1px #4C6C8F;

+    border-bottom: solid 1px #4C6C8F;

+    margin-bottom: 15px;

+    margin-left: 15px;

+    margin-right: 10%;

+    padding-bottom: 5px;

+    padding-top: 5px;

+}

+.minitoc {

+    list-style-image: url('images/current.gif');

+    font-weight: normal;

+}

+li p {

+    margin: 0;

+    padding: 0;

+}

+

+.pdflink {

+    position: relative; /* IE bugfix cont'd */

+    float: right;

+    margin: 0px 5px;

+    padding: 0;

+}

+.pdflink br {

+    margin-top: -10px;

+    padding-left: 1px;

+}

+.pdflink a {

+    display: block;

+    font-size: 70%;

+    text-align: center;

+    margin: 0;

+    padding: 0;

+}

+

+.pdflink img {

+    display: block;

+    height: 16px;

+    width: 16px;

+}

+.xmllink {

+    position: relative; /* IE bugfix cont'd */

+    float: right;

+    margin: 0px 5px;

+    padding: 0;

+}

+.xmllink br {

+    margin-top: -10px;

+    padding-left: 1px;

+}

+.xmllink a {

+    display: block;

+    font-size: 70%;

+    text-align: center;

+    margin: 0;

+    padding: 0;

+}

+

+.xmllink img {

+    display: block;

+    height: 16px;

+    width: 16px;

+}

+.podlink {

+    position: relative; /* IE bugfix cont'd */

+    float: right;

+    margin: 0px 5px;

+    padding: 0;

+}

+.podlink br {

+    margin-top: -10px;

+    padding-left: 1px;

+}

+.podlink a {

+    display: block;

+    font-size: 70%;

+    text-align: center;

+    margin: 0;

+    padding: 0;

+}

+

+.podlink img {

+    display: block;

+    height: 16px;

+    width: 16px;

+}

+

+.printlink {

+    float: right;

+}

+.printlink br {

+    margin-top: -10px;

+    padding-left: 1px;

+}

+.printlink a {

+    display: block;

+    font-size: 70%;

+    text-align: center;

+    margin: 0;

+    padding: 0;

+}

+.printlink img {

+    display: block;

+    height: 16px;

+    width: 16px;

+}

+

+p.instruction {

+  display: list-item;

+  list-style-image: url('../images/instruction_arrow.png');

+  list-style-position: outside;

+  margin-left: 2em;

+} 
\ No newline at end of file

Added: forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/skinconf.xsl
Url: http://svn.apache.org/viewcvs/forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/skinconf.xsl?view=auto&rev=123891
==============================================================================
--- (empty file)
+++ forrest/site/plugins/docs/org.apache.forrest.plugin.pdf-output/skin/skinconf.xsl	Sun Jan
 2 08:42:04 2005
@@ -0,0 +1,152 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+        
+    <xsl:template match="skinconfig">
+
+  <xsl:if test="not(colors)">
+  <colors>
+<!-- Lenya -->
+  <color name="header" value="#ffffff"/>
+
+    <color name="tab-selected" value="#4C6C8F" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
+    <color name="tab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
+    <color name="subtab-selected" value="#4C6C8F" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
+    <color name="subtab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
+
+    <color name="heading" value="#E5E4D9"/>
+    <color name="subheading" value="#E5E4D9"/>
+    <color name="published" value="#4C6C8F" font="#FFFFFF"/>
+	<color name="feedback" value="#4C6C8F" font="#FFFFFF" align="center"/>
+    <color name="navstrip" value="#E5E4D9" font="#000000"/>
+
+    <color name="toolbox" value="#CFDCED" font="#000000"/>
+
+    <color name="border" value="#999999"/>
+    <color name="menu" value="#4C6C8F" font="#ffffff" link="#ffffff" vlink="#ffffff" hlink="#ffffff"
 />    
+    <color name="menuheading" value="#cfdced" font="#000000" />
+    <color name="searchbox" value="#E5E4D9" font="#000000"/>
+    
+    <color name="dialog" value="#E5E4D9" font="#000000"/>
+	<color name="body" value="#ffffff" />            
+    
+    <color name="table" value="#ccc"/>    
+    <color name="table-cell" value="#ffffff"/>   
+    <color name="highlight" value="#ffff00"/>
+    <color name="fixme" value="#cc6600"/>
+    <color name="note" value="#006699"/>
+    <color name="warning" value="#990000"/>
+    <color name="code" value="#003366"/>
+        
+    <color name="footer" value="#E5E4D9"/>
+  </colors>
+  </xsl:if>
+
+     <xsl:copy>
+      <xsl:copy-of select="@*"/>
+      <xsl:copy-of select="node()[not(name(.)='colors')]"/>     
+      <xsl:apply-templates select="colors"/>
+     </xsl:copy> 
+
+    </xsl:template>
+
+    <xsl:template match="colors">
+     <xsl:copy>
+      <xsl:copy-of select="@*"/>
+      <xsl:copy-of select="node()[name(.)='color']"/> 
+      
+     <xsl:if test="not(color[@name='header'])">
+       <color name="header" value="#FFFFFF"/>
+     </xsl:if>  
+     <xsl:if test="not(color[@name='tab-selected'])">
+      <color name="tab-selected" value="#4C6C8F" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
+     </xsl:if>  
+     <xsl:if test="not(color[@name='tab-unselected'])">
+      <color name="tab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
+     </xsl:if>
+     <xsl:if test="not(color[@name='subtab-selected'])">
+      <color name="subtab-selected" value="#4C6C8F" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
+     </xsl:if>  
+     <xsl:if test="not(color[@name='subtab-unselected'])">
+      <color name="subtab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
+     </xsl:if>  
+     <xsl:if test="not(color[@name='heading'])">
+      <color name="heading" value="#E5E4D9"/>
+     </xsl:if>  
+     <xsl:if test="not(color[@name='subheading'])">
+      <color name="subheading" value="#E5E4D9"/>
+     </xsl:if>
+      <xsl:if test="not(color[@name='published'])">
+		<color name="feedback" value="#4C6C8F" font="#FFFFFF" align="center"/>
+     </xsl:if> 
+     <xsl:if test="not(color[@name='published'])">
+        <color name="published" value="#4C6C8F" font="#FFFFFF"/>
+     </xsl:if> 
+     <xsl:if test="not(color[@name='navstrip'])">
+      <color name="navstrip" value="#E5E4D9" font="#000000"/>
+     </xsl:if>  
+     <xsl:if test="not(color[@name='toolbox'])">
+       <color name="toolbox" value="#CFDCED" font="#000000"/>
+     </xsl:if>  
+     <xsl:if test="not(color[@name='border'])">
+       <color name="border" value="#999999"/>
+     </xsl:if>       
+     <xsl:if test="not(color[@name='menu'])">
+      	<color name="menu" value="#4C6C8F" font="#ffffff" link="#ffffff" vlink="#ffffff"
hlink="#ffffff"  /> 
+     </xsl:if>
+     <xsl:if test="not(color[@name='menuheading'])">
+	     <color name="menuheading" value="#cfdced" font="#000000" />
+     </xsl:if> 
+     <xsl:if test="not(color[@name='searchbox'])">
+	 	<color name="searchbox" value="#E5E4D9" font="#000000"/>
+     </xsl:if> 
+     <xsl:if test="not(color[@name='dialog'])">
+      <color name="dialog" value="#E5E4D9" font="#000000" link="#000000" vlink="#000000"
hlink="#000000"/>
+     </xsl:if>  
+     <xsl:if test="not(color[@name='body'])">
+      <color name="body" value="#ffffff" /> 
+     </xsl:if>  
+     <xsl:if test="not(color[@name='table'])">
+      <color name="table" value="#ccc"/>    
+     </xsl:if>  
+     <xsl:if test="not(color[@name='table-cell'])">
+      <color name="table-cell" value="#ffffff"/>    
+     </xsl:if>  
+     <xsl:if test="not(color[@name='highlight'])">
+       <color name="highlight" value="#ffff00"/>
+     </xsl:if>  
+     <xsl:if test="not(color[@name='fixme'])">
+       <color name="fixme" value="#c60"/>
+     </xsl:if>  
+     <xsl:if test="not(color[@name='note'])">
+       <color name="note" value="#069"/>
+     </xsl:if>  
+     <xsl:if test="not(color[@name='warning'])">
+       <color name="warning" value="#900"/>
+     </xsl:if>  
+     <xsl:if test="not(color[@name='code'])">
+       <color name="code" value="#a5b6c6"/>
+     </xsl:if>  
+     <xsl:if test="not(color[@name='footer'])">
+       <color name="footer" value="#E5E4D9"/>
+     </xsl:if>  
+    
+     </xsl:copy> 
+
+    </xsl:template>
+    
+</xsl:stylesheet>

Mime
View raw message