+++ /dev/null
-<?xml version="1.0"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:template match="skinconfig">
- <xsl:copy>
- <xsl:if test="not(disable-print-link)">
- <disable-print-link>true</disable-print-link>
- </xsl:if>
- <xsl:if test="not(disable-pdf-link)">
- <disable-pdf-link>true</disable-pdf-link>
- </xsl:if>
- <xsl:if test="not(disable-txt-link)">
- <disable-txt-link>true</disable-txt-link>
- </xsl:if>
- <xsl:if test="not(disable-pod-link)">
- <disable-pod-link>true</disable-pod-link>
- </xsl:if>
- <xsl:if test="not(disable-xml-link)">
- <disable-xml-link>true</disable-xml-link>
- </xsl:if>
- <xsl:if test="not(disable-external-link-image)">
- <disable-external-link-image>false</disable-external-link-image>
- </xsl:if>
- <xsl:if test="not(disable-compliance-links)">
- <disable-compliance-links>false</disable-compliance-links>
- </xsl:if>
- <xsl:if test="not(obfuscate-mail-links)">
- <obfuscate-mail-links>true</obfuscate-mail-links>
- </xsl:if>
- <xsl:if test="not(obfuscate-mail-value)">
- <obfuscate-mail-value>.at.</obfuscate-mail-value>
- </xsl:if>
- <xsl:if test="not(disable-font-script)">
- <disable-font-script>true</disable-font-script>
- </xsl:if>
-<!--
- <xsl:if test="not(project-name)">
- <project-name>MyProject</project-name>
- </xsl:if>
- <xsl:if test="not(project-description)">
- <project-description>MyProject Description</project-description>
- </xsl:if>
- <xsl:if test="not(project-url)">
- <project-url>http://myproj.mygroup.org/</project-url>
- </xsl:if>
- <xsl:if test="not(project-logo)">
- <project-logo>images/project.png</project-logo>
- </xsl:if>
- <xsl:if test="not(group-name)">
- <group-name>MyGroup</group-name>
- </xsl:if>
- <xsl:if test="not(group-description)">
- <group-description>MyGroup Description</group-description>
- </xsl:if>
- <xsl:if test="not(group-url)">
- <group-url>http://mygroup.org</group-url>
- </xsl:if>
- <xsl:if test="not(group-logo)">
- <group-logo>images/group.png</group-logo>
- </xsl:if>
- <xsl:if test="not(host-url)">
- <host-url/>
- </xsl:if>
- <xsl:if test="not(host-logo)">
- <host-logo/>
- </xsl:if>
- <xsl:if test="not(year)">
- <year>2006</year>
- </xsl:if>
- <xsl:if test="not(vendor)">
- <vendor>The Acme Software Foundation.</vendor>
- </xsl:if>
- -->
- <xsl:if test="not(trail)">
- <trail>
- <link1 name="" href=""/>
- <link2 name="" href=""/>
- <link3 name="" href=""/>
- </trail>
- </xsl:if>
- <xsl:if test="not(toc)">
- <toc level="2" location="page"/>
- </xsl:if>
- <xsl:if test="not(pdf/page-numbering-format)">
- <pdf>
- <page-numbering-format>Page 1</page-numbering-format>
- </pdf>
- </xsl:if>
- <xsl:if test="not(pdf/show-external-urls)">
- <pdf>
- <show-external-urls>true</show-external-urls>
- </pdf>
- </xsl:if>
-<!--
- <xsl:if test="not(colors)">
- <colors>
- <color name="header" value="#294563"/>
-
- <color name="tab-selected" value="#4a6d8c"/>
- <color name="tab-unselected" value="#b5c7e7"/>
- <color name="subtab-selected" value="#4a6d8c"/>
- <color name="subtab-unselected" value="#4a6d8c"/>
-
- <color name="heading" value="#294563"/>
- <color name="subheading" value="#4a6d8c"/>
-
- <color name="navstrip" value="#cedfef"/>
- <color name="toolbox" value="#294563"/>
-
- <color name="menu" value="#4a6d8c"/>
- <color name="dialog" value="#4a6d8c"/>
-
- <color name="body" value="#ffffff"/>
-
- <color name="table" value="#7099C5"/>
- <color name="table-cell" value="#f0f0ff"/>
- <color name="highlight" value="#ffff00"/>
- <color name="fixme" value="#c60"/>
- <color name="note" value="#069"/>
-
- <color name="warning" value="#900"/>
- <color name="code" value="#CFDCED"/>
-
- <color name="footer" value="#cedfef"/>
- </colors>
- </xsl:if>
--->
- <xsl:if test="not(extra-css)">
- <extra-css/>
- </xsl:if>
- <xsl:if test="not(credits)">
- <credits>
- <credit>
- <name>Built with Apache Forrest</name>
- <url>http://forrest.apache.org/</url>
- <image>images/built-with-forrest-button.png</image>
- <width>88</width>
- <height>31</height>
- </credit>
-<!-- A credit with @role='pdf' will have its name and url displayed in the
- PDF page's footer. -->
- </credits>
- </xsl:if>
- <xsl:copy-of select="@*"/>
- <xsl:copy-of select="node()"/>
-<!--
- <xsl:copy-of select="node()[not(name(.)='colors')]"/>
- <xsl:apply-templates select="colors"/>-->
- </xsl:copy>
- </xsl:template>
-<!--
- <xsl:template match="colors">
- <colors>
- <xsl:if test="not(color[@name='header'])">
- <color name="header" value="#294563"/>
- </xsl:if>
- <xsl:if test="not(color[@name='tab-selected'])">
- <color name="tab-selected" value="#4a6d8c"/>
- </xsl:if>
- <xsl:if test="not(color[@name='tab-unselected'])">
- <color name="tab-unselected" value="#b5c7e7"/>
- </xsl:if>
- <xsl:if test="not(color[@name='subtab-selected'])">
- <color name="subtab-selected" value="#4a6d8c"/>
- </xsl:if>
- <xsl:if test="not(color[@name='subtab-unselected'])">
- <color name="subtab-unselected" value="#4a6d8c"/>
- </xsl:if>
- <xsl:if test="not(color[@name='heading'])">
- <color name="heading" value="#294563"/>
- </xsl:if>
- <xsl:if test="not(color[@name='subheading'])">
- <color name="subheading" value="#4a6d8c"/>
- </xsl:if>
- <xsl:if test="not(color[@name='navstrip'])">
- <color name="navstrip" value="#cedfef"/>
- </xsl:if>
- <xsl:if test="not(color[@name='toolbox'])">
- <color name="toolbox" value="#294563"/>
- </xsl:if>
- <xsl:if test="not(color[@name='menu'])">
- <color name="menu" value="#4a6d8c"/>
- </xsl:if>
- <xsl:if test="not(color[@name='dialog'])">
- <color name="dialog" value="#4a6d8c"/>
- </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="#7099C5"/>
- </xsl:if>
- <xsl:if test="not(color[@name='table-cell'])">
- <color name="table-cell" value="#f0f0ff"/>
- </xsl:if>
- <xsl:if test="not(color[@name='highlight'])">
- <color name="highlight" value="#yellow"/>
- </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="#CFDCED"/>
- </xsl:if>
- <xsl:if test="not(color[@name='footer'])">
- <color name="footer" value="#cedfef"/>
- </xsl:if>
-
- <xsl:copy>
- <xsl:copy-of select="@*"/>
- <xsl:copy-of select="node()[name(.)='color']"/>
- </xsl:copy>
-
- </colors>
- </xsl:template>
--->
-</xsl:stylesheet>