diff options
author | Keiron Liddle <keiron@apache.org> | 2001-10-05 09:44:34 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2001-10-05 09:44:34 +0000 |
commit | 4ec330105da5bdd8cee819f51aa9e21424d7800a (patch) | |
tree | 553baaffcd2acfe145e5a3df2f47ac4a93e6d73b /docs/xml-docs/skins | |
parent | 692a69774d19362a7c39f7df56bd60b88aef9b4d (diff) | |
download | xmlgraphics-fop-4ec330105da5bdd8cee819f51aa9e21424d7800a.tar.gz xmlgraphics-fop-4ec330105da5bdd8cee819f51aa9e21424d7800a.zip |
updated stylebook stuff to a more recent version
changed the front page - added some images and made text clearer
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194487 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/xml-docs/skins')
40 files changed, 1074 insertions, 0 deletions
diff --git a/docs/xml-docs/skins/xml.apache.org/graphics/button-a.gif b/docs/xml-docs/skins/xml.apache.org/graphics/button-a.gif Binary files differnew file mode 100644 index 000000000..5d0b8c242 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/graphics/button-a.gif diff --git a/docs/xml-docs/skins/xml.apache.org/graphics/button-b.gif b/docs/xml-docs/skins/xml.apache.org/graphics/button-b.gif Binary files differnew file mode 100644 index 000000000..06e03811a --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/graphics/button-b.gif diff --git a/docs/xml-docs/skins/xml.apache.org/loader.xml b/docs/xml-docs/skins/xml.apache.org/loader.xml new file mode 100644 index 000000000..3bb469dd2 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/loader.xml @@ -0,0 +1,9 @@ +<?xml version="1.0"?> + +<!-- CVS $Revision$ $Date$ --> + +<loader> + <processor name="xslt"> + <parameter name="stylesheet" value="sbk:/style/stylesheets/book2project.xsl"/> + </processor> +</loader> diff --git a/docs/xml-docs/skins/xml.apache.org/resources/bar-border-bottom.gif b/docs/xml-docs/skins/xml.apache.org/resources/bar-border-bottom.gif Binary files differnew file mode 100644 index 000000000..c6356a004 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/bar-border-bottom.gif diff --git a/docs/xml-docs/skins/xml.apache.org/resources/bar-border-left.gif b/docs/xml-docs/skins/xml.apache.org/resources/bar-border-left.gif Binary files differnew file mode 100644 index 000000000..0091cdf39 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/bar-border-left.gif diff --git a/docs/xml-docs/skins/xml.apache.org/resources/bar-border-right.gif b/docs/xml-docs/skins/xml.apache.org/resources/bar-border-right.gif Binary files differnew file mode 100644 index 000000000..4970d9f25 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/bar-border-right.gif diff --git a/docs/xml-docs/skins/xml.apache.org/resources/bar-border-top.gif b/docs/xml-docs/skins/xml.apache.org/resources/bar-border-top.gif Binary files differnew file mode 100644 index 000000000..a0e707dc9 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/bar-border-top.gif diff --git a/docs/xml-docs/skins/xml.apache.org/resources/bar-bottom-left.gif b/docs/xml-docs/skins/xml.apache.org/resources/bar-bottom-left.gif Binary files differnew file mode 100644 index 000000000..2223fde26 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/bar-bottom-left.gif diff --git a/docs/xml-docs/skins/xml.apache.org/resources/bar-bottom-right.gif b/docs/xml-docs/skins/xml.apache.org/resources/bar-bottom-right.gif Binary files differnew file mode 100644 index 000000000..7110336c8 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/bar-bottom-right.gif diff --git a/docs/xml-docs/skins/xml.apache.org/resources/bar-top-left.gif b/docs/xml-docs/skins/xml.apache.org/resources/bar-top-left.gif Binary files differnew file mode 100644 index 000000000..4a2f7da99 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/bar-top-left.gif diff --git a/docs/xml-docs/skins/xml.apache.org/resources/bar-top-right.gif b/docs/xml-docs/skins/xml.apache.org/resources/bar-top-right.gif Binary files differnew file mode 100644 index 000000000..5256292d7 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/bar-top-right.gif diff --git a/docs/xml-docs/skins/xml.apache.org/resources/bottom.gif b/docs/xml-docs/skins/xml.apache.org/resources/bottom.gif Binary files differnew file mode 100644 index 000000000..bc5b8cbb9 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/bottom.gif diff --git a/docs/xml-docs/skins/xml.apache.org/resources/button-asf-hi.gif b/docs/xml-docs/skins/xml.apache.org/resources/button-asf-hi.gif Binary files differnew file mode 100644 index 000000000..2c52e3763 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/button-asf-hi.gif diff --git a/docs/xml-docs/skins/xml.apache.org/resources/button-asf-lo.gif b/docs/xml-docs/skins/xml.apache.org/resources/button-asf-lo.gif Binary files differnew file mode 100644 index 000000000..50afd7dd6 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/button-asf-lo.gif diff --git a/docs/xml-docs/skins/xml.apache.org/resources/button-w3c-hi.gif b/docs/xml-docs/skins/xml.apache.org/resources/button-w3c-hi.gif Binary files differnew file mode 100644 index 000000000..e12862568 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/button-w3c-hi.gif diff --git a/docs/xml-docs/skins/xml.apache.org/resources/button-w3c-lo.gif b/docs/xml-docs/skins/xml.apache.org/resources/button-w3c-lo.gif Binary files differnew file mode 100644 index 000000000..8b457db49 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/button-w3c-lo.gif diff --git a/docs/xml-docs/skins/xml.apache.org/resources/button-xml-hi.gif b/docs/xml-docs/skins/xml.apache.org/resources/button-xml-hi.gif Binary files differnew file mode 100644 index 000000000..929310be8 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/button-xml-hi.gif diff --git a/docs/xml-docs/skins/xml.apache.org/resources/button-xml-lo.gif b/docs/xml-docs/skins/xml.apache.org/resources/button-xml-lo.gif Binary files differnew file mode 100644 index 000000000..091ce8e96 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/button-xml-lo.gif diff --git a/docs/xml-docs/skins/xml.apache.org/resources/close.gif b/docs/xml-docs/skins/xml.apache.org/resources/close.gif Binary files differnew file mode 100644 index 000000000..48a9782ce --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/close.gif diff --git a/docs/xml-docs/skins/xml.apache.org/resources/dot.gif b/docs/xml-docs/skins/xml.apache.org/resources/dot.gif Binary files differnew file mode 100644 index 000000000..6227d1d86 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/dot.gif diff --git a/docs/xml-docs/skins/xml.apache.org/resources/join.gif b/docs/xml-docs/skins/xml.apache.org/resources/join.gif Binary files differnew file mode 100644 index 000000000..02e7611bb --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/join.gif diff --git a/docs/xml-docs/skins/xml.apache.org/resources/line.gif b/docs/xml-docs/skins/xml.apache.org/resources/line.gif Binary files differnew file mode 100644 index 000000000..3716c4cd0 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/line.gif diff --git a/docs/xml-docs/skins/xml.apache.org/resources/logo.gif b/docs/xml-docs/skins/xml.apache.org/resources/logo.gif Binary files differnew file mode 100644 index 000000000..53538c3f6 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/logo.gif diff --git a/docs/xml-docs/skins/xml.apache.org/resources/note.gif b/docs/xml-docs/skins/xml.apache.org/resources/note.gif Binary files differnew file mode 100644 index 000000000..83ce9ec31 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/note.gif diff --git a/docs/xml-docs/skins/xml.apache.org/resources/right.gif b/docs/xml-docs/skins/xml.apache.org/resources/right.gif Binary files differnew file mode 100644 index 000000000..bcb50e386 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/right.gif diff --git a/docs/xml-docs/skins/xml.apache.org/resources/script.js b/docs/xml-docs/skins/xml.apache.org/resources/script.js new file mode 100644 index 000000000..1bf24c79c --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/script.js @@ -0,0 +1,17 @@ +rolloverImagesOn=new Array(); +rolloverImagesOff=new Array(); + +function rolloverOn(name) { + document.images[name].src=rolloverImagesOn[name].src; +} + +function rolloverOff(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/docs/xml-docs/skins/xml.apache.org/resources/separator.gif b/docs/xml-docs/skins/xml.apache.org/resources/separator.gif Binary files differnew file mode 100644 index 000000000..e7749432f --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/separator.gif diff --git a/docs/xml-docs/skins/xml.apache.org/resources/void.gif b/docs/xml-docs/skins/xml.apache.org/resources/void.gif Binary files differnew file mode 100644 index 000000000..75b945d25 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/resources/void.gif diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/book2project.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/book2project.xsl new file mode 100644 index 000000000..1cb768073 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/book2project.xsl @@ -0,0 +1,181 @@ +<?xml version="1.0"?> + +<xsl:stylesheet + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + + <!-- match the root book element --> + <xsl:template match="book"> + <project> + + <parameter name="copyright" value="{@copyright}"/> + <parameter name="name" value="{@software}"/> + + <!-- 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="page|hidden"> + <process source="{@source}" producer="parser"> + <processor name="xslt"> + <parameter name="stylesheet" value="sbk:/style/stylesheets/scan4resources.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:if test="not(name(.)='hidden')"> + <xsl:call-template name="labels"> + <xsl:with-param name="id" select="@id"/> + <xsl:with-param name="label" select="@label"/> + </xsl:call-template> + </xsl:if> + + <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="spec"> + <process source="{@source}" producer="parser"> + <processor name="xslt"> + <parameter name="stylesheet" value="sbk:/style/stylesheets/scan4resources.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/spec2html.xsl"/> + </processor> + </create> + </xsl:template> + + <xsl:template match="changes|faqs|todo"> + <process source="{@source}" producer="parser"> + <processor name="xslt"> + <parameter name="stylesheet" value="sbk:/style/stylesheets/{name(.)}2document.xsl"/> + </processor> + <processor name="xslt"> + <parameter name="stylesheet" value="sbk:/style/stylesheets/scan4resources.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:with-param name="type" select="name(.)"/> + </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/{name(.)}2document.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"/> + <xsl:param name="type"/> + + <create source="{$source}" target="graphics/{$id}-header.jpg" producer="parser" printer="image"> + <xsl:if test="$type"> + <processor name="xslt"> + <parameter name="stylesheet" value="sbk:/style/stylesheets/{$type}2document.xsl"/> + </processor> + </xsl:if> + <processor name="xslt"> + <parameter name="stylesheet" value="sbk:/style/stylesheets/document2image.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> diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/changes2document.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/changes2document.xsl new file mode 100644 index 000000000..edcd4e0d0 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/changes2document.xsl @@ -0,0 +1,56 @@ +<?xml version="1.0"?> + +<xsl:stylesheet + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + + <xsl:import href="copyover.xsl"/> + + <xsl:param name="name"/> + + <xsl:template match="changes"> + <document> + <header> + <title><xsl:value-of select="@title"/></title> + </header> + <body> + <xsl:apply-templates/> + </body> + </document> + </xsl:template> + + <xsl:template match="release"> + <s2 title="{$name} {@version} ({@date})"> + <sl> + <xsl:apply-templates/> + </sl> + </s2> + </xsl:template> + + <xsl:template match="action"> + <li> + <icon src="images/{@type}.jpg" alt="{@type}"/> + <xsl:apply-templates/> + <xsl:text>(</xsl:text><xsl:value-of select="@dev"/><xsl:text>)</xsl:text> + + <xsl:if test="@due-to"> + <xsl:text> Thanks to </xsl:text> + <link href="mailto:{@due-to-email}"><xsl:value-of select="@due-to"/></link> + <xsl:text>.</xsl:text> + </xsl:if> + + <xsl:if test="@fixes-bug"> + <xsl:text> Fixes </xsl:text> + <link href="http://xml.apache.org/bugs/show_bug.cgi?id={@fixes-bug}"> + <xsl:text>bug </xsl:text><xsl:value-of select="@fixes-bug"/> + </link> + <xsl:text>.</xsl:text> + </xsl:if> + </li> + </xsl:template> + + <xsl:template match="devs"> + <!-- remove --> + </xsl:template> + +</xsl:stylesheet> diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/context2label.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/context2label.xsl new file mode 100644 index 000000000..de5a14bd3 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/context2label.xsl @@ -0,0 +1,23 @@ +<?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="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> diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/copyover.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/copyover.xsl new file mode 100644 index 000000000..5ef559c57 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/copyover.xsl @@ -0,0 +1,13 @@ +<?xml version="1.0"?> + +<xsl:stylesheet + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + + <xsl:template match="@*|*|text()|processing-instruction()"> + <xsl:copy> + <xsl:apply-templates select="@*|*|text()|processing-instruction()"/> + </xsl:copy> + </xsl:template> + +</xsl:stylesheet> diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/directory2project.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/directory2project.xsl new file mode 100644 index 000000000..0e03dc892 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/directory2project.xsl @@ -0,0 +1,21 @@ +<?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="directory"> + <project> + <xsl:apply-templates/> + </project> + </xsl:template> + + <xsl:template match="entry"> + <xsl:if test="not(@directory)"> + <resource source="{@href}" target="{$base}{@href}"/> + </xsl:if> + </xsl:template> + +</xsl:stylesheet> diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/document2html.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/document2html.xsl new file mode 100644 index 000000000..590560c59 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/document2html.xsl @@ -0,0 +1,488 @@ +<?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"/> + +<!-- ====================================================================== --> +<!-- document section --> +<!-- ====================================================================== --> + + <xsl:template match="/"> + <!-- checks if this is the included document to avoid neverending loop --> + <xsl:if test="not(book)"> + <html> + <head> + <script language="JavaScript" type="text/javascript" src="resources/script.js"/> + <title><xsl:value-of select="document/header/title"/></title> + </head> + <body text="#000000" link="#039acc" vlink="#0086b2" alink="#cc0000" + topmargin="4" leftmargin="4" marginwidth="4" marginheight="4" + bgcolor="#ffffff"> + <!-- THE TOP BAR (HEADER) --> + <table width="100%" 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" hspace="0" vspace="0" border="0"/> + </td> + <td width="100%" height="5" valign="top" align="left" colspan="2" background="resources/line.gif"> + <img width="1" height="5" src="resources/line.gif" hspace="0" vspace="0" border="0" align="left"/> + </td> + <td width="29" height="60" rowspan="3" valign="top" align="left"> + <img width="29" height="60" src="resources/right.gif" hspace="0" vspace="0" border="0"/> + </td> + </tr> + <tr> + <td width="100%" height="35" valign="top" align="left" colspan="2" bgcolor="#0086b2"> + <img src="graphics/{$id}-header.jpg" width="456" height="35" hspace="0" vspace="0" border="0" alt="{header/title}" align="right"/> + </td> + </tr> + <tr> + <td width="100%" height="20" valign="top" align="left" bgcolor="#0086b2" background="resources/bottom.gif"> + <img width="3" height="20" src="resources/bottom.gif" hspace="0" vspace="0" border="0" align="left"/> + </td> + <td align="right" bgcolor="#0086b2" height="20" valign="top" width="288" background="resources/bottom.gif"> + <table border="0" cellpadding="0" cellspacing="0" width="288"> + <tr> + <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> + </td> + </tr> + </table> + + <!-- THE MAIN PANEL (SIDEBAR AND CONTENT) --> + <table width="100%" 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" hspace="0" vspace="0" border="0"/><br/> + <xsl:apply-templates select="document($stylebook.project)"/> + <img width="120" height="14" src="resources/close.gif" hspace="0" vspace="0" border="0"/><br/> + </td> + <!-- THE CONTENT PANEL --> + <td width="*" valign="top" align="left"> + <table border="0" cellspacing="0" cellpadding="3"> + <tr><td><br/><xsl:apply-templates/></td></tr> + </table> + </td> + </tr> + </table> + + <br/> + + <table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr><td bgcolor="#0086b2"><img src="images/dot.gif" width="1" height="1"/></td></tr> + <tr> + <td align="center"><font face="arial,helvetica,sanserif" size="-1" color="#0086b2"><i> + Copyright © <xsl:value-of select="$copyright"/>. + All Rights Reserved. + </i></font></td> + </tr> + </table> + </body> + </html> + </xsl:if> + + <xsl:if test="book"> + <xsl:apply-templates/> + </xsl:if> + </xsl:template> + +<!-- ====================================================================== --> +<!-- book section --> +<!-- ====================================================================== --> + + <xsl:template match="page|faqs|changes|todo|spec"> + <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" width="120" height="6" hspace="0" vspace="0" border="0"/><br/> + </xsl:template> + +<!-- ====================================================================== --> +<!-- header section --> +<!-- ====================================================================== --> + + <xsl:template match="header"> + <!-- ignore on general document --> + </xsl:template> + +<!-- ====================================================================== --> +<!-- body section --> +<!-- ====================================================================== --> + + <xsl:template match="s1"> + <div align="right"> + <table border="0" width="98%" cellspacing="0" cellpadding="0"> + <tr> + <td width="9" height="7" valign="bottom" align="right"><img src="resources/bar-top-left.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td> + <td background="resources/bar-border-top.gif"><img src="resources/void.gif" width="1" height="5" vspace="0" hspace="0" border="0"/></td> + <td width="9" height="7" valign="bottom" align="left"><img src="resources/bar-top-right.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td> + </tr> + <tr> + <td width="9" background="resources/bar-border-left.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td> + <td width="100%" bgcolor="#0086b2"> + <font size="+1" face="arial,helvetica,sanserif" color="#ffffff"> + <img src="resources/void.gif" width="5" height="5" vspace="0" hspace="0" border="0"/><b><xsl:value-of select="@title"/></b></font> + </td> + <td width="9" background="resources/bar-border-right.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td> + </tr> + <tr> + <td width="9" height="12" valign="top" align="right"><img src="resources/bar-bottom-left.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td> + <td background="resources/bar-border-bottom.gif"><img src="resources/void.gif" height="12" vspace="0" hspace="0" border="0"/></td> + <td width="9" height="12" valign="top" align="left"><img src="resources/bar-bottom-right.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td> + </tr> + </table> + <table border="0" width="98%" cellspacing="0" cellpadding="0"> + <tr> + <td> + <font face="arial,helvetica,sanserif" color="#000000"><xsl:apply-templates/></font> + </td> + </tr> + </table> + </div> + <br/> + </xsl:template> + + <xsl:template match="s2"> + <div align="right"> + <table border="0" width="95%" cellspacing="0" cellpadding="0"> + <tr> + <td width="9" height="7" valign="bottom" align="right"><img src="resources/bar-top-left.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td> + <td background="resources/bar-border-top.gif"><img src="resources/void.gif" width="1" height="5" vspace="0" hspace="0" border="0"/></td> + <td width="9" height="7" valign="bottom" align="left"><img src="resources/bar-top-right.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td> + </tr> + <tr> + <td width="9" background="resources/bar-border-left.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td> + <td width="100%" bgcolor="#0086b2"> + <font face="arial,helvetica,sanserif" color="#ffffff"> + <img src="resources/void.gif" width="5" height="5" vspace="0" hspace="0" border="0"/><b><xsl:value-of select="@title"/></b></font> + </td> + <td width="9" background="resources/bar-border-right.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td> + </tr> + <tr> + <td width="9" height="12" valign="top" align="right"><img src="resources/bar-bottom-left.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td> + <td background="resources/bar-border-bottom.gif"><img src="resources/void.gif" width="1" height="12" vspace="0" hspace="0" border="0"/></td> + <td width="9" height="12" valign="top" align="left"><img src="resources/bar-bottom-right.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td> + </tr> + </table> + <table border="0" width="95%" cellspacing="0" cellpadding="0"> + <tr> + <td> + <font face="arial,helvetica,sanserif" color="#000000"><xsl:apply-templates/></font> + </td> + </tr> + </table> + </div> + <br/> + </xsl:template> + + <xsl:template match="s3"> + <div align="right"> + <table border="0" width="90%" cellspacing="0" cellpadding="0"> + <tr> + <td width="9" height="7" valign="bottom" align="right"><img src="resources/bar-top-left.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td> + <td background="resources/bar-border-top.gif"><img src="resources/void.gif" width="1" height="5" vspace="0" hspace="0" border="0"/></td> + <td width="9" height="7" valign="bottom" align="left"><img src="resources/bar-top-right.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td> + </tr> + <tr> + <td width="9" background="resources/bar-border-left.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td> + <td width="100%" bgcolor="#0086b2"> + <font size="-1" face="arial,helvetica,sanserif" color="#ffffff"> + <img src="resources/void.gif" width="5" height="5" vspace="0" hspace="0" border="0"/><b><xsl:value-of select="@title"/></b></font> + </td> + <td width="9" background="resources/bar-border-right.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td> + </tr> + <tr> + <td width="9" height="12" valign="top" align="right"><img src="resources/bar-bottom-left.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td> + <td background="resources/bar-border-bottom.gif"><img src="resources/void.gif" width="1" height="12" vspace="0" hspace="0" border="0"/></td> + <td width="9" height="12" valign="top" align="left"><img src="resources/bar-bottom-right.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td> + </tr> + </table> + <table border="0" width="90%" cellspacing="0" cellpadding="0"> + <tr> + <td> + <font face="arial,helvetica,sanserif" color="#000000"><xsl:apply-templates/></font> + </td> + </tr> + </table> + </div> + <br/> + </xsl:template> + + <xsl:template match="s4"> + <div align="right"> + <table border="0" width="85%" cellspacing="0" cellpadding="0"> + <tr> + <td width="9" height="7" valign="bottom" align="right"><img src="resources/bar-top-left.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td> + <td background="resources/bar-border-top.gif"><img src="resources/void.gif" width="1" height="5" vspace="0" hspace="0" border="0"/></td> + <td width="9" height="7" valign="bottom" align="left"><img src="resources/bar-top-right.gif" width="9" height="7" vspace="0" hspace="0" border="0"/></td> + </tr> + <tr> + <td width="9" background="resources/bar-border-left.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td> + <td width="100%" bgcolor="#0086b2"> + <font size="-2" face="arial,helvetica,sanserif" color="#ffffff"> + <img src="resources/void.gif" width="5" height="5" vspace="0" hspace="0" border="0"/><b><xsl:value-of select="@title"/></b></font> + </td> + <td width="9" background="resources/bar-border-right.gif"><img src="resources/void.gif" width="9" height="1" vspace="0" hspace="0" border="0"/></td> + </tr> + <tr> + <td width="9" height="12" valign="top" align="right"><img src="resources/bar-bottom-left.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td> + <td background="resources/bar-border-bottom.gif"><img src="resources/void.gif" width="1" height="12" vspace="0" hspace="0" border="0"/></td> + <td width="9" height="12" valign="top" align="left"><img src="resources/bar-bottom-right.gif" width="9" height="12" vspace="0" hspace="0" border="0"/></td> + </tr> + </table> + <table border="0" width="85%" cellspacing="0" cellpadding="0"> + <tr> + <td> + <font face="arial,helvetica,sanserif" color="#000000"><xsl:apply-templates/></font> + </td> + </tr> + </table> + </div> + <br/> + </xsl:template> + +<!-- ====================================================================== --> +<!-- footer section --> +<!-- ====================================================================== --> + + <xsl:template match="footer"> + <!-- ignore on general documents --> + </xsl:template> + +<!-- ====================================================================== --> +<!-- paragraph section --> +<!-- ====================================================================== --> + + <xsl:template match="p"> + <p align="left"><xsl:apply-templates/></p> + </xsl:template> + + <xsl:template match="note"> + <p> + <table width="100%" cellspacing="3" cellpadding="0" border="0"> + <tr> + <td width="28" valign="top"> + <img src="resources/note.gif" width="28" height="29" 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> + </p> + </xsl:template> + + <xsl:template match="source"> + <div align="center"> + <table cellspacing="4" cellpadding="0" border="0"> + <tr> + <td bgcolor="#0086b2" width="1" height="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td> + <td bgcolor="#0086b2" height="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td> + <td bgcolor="#0086b2" width="1" height="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td> + </tr> + <tr> + <td bgcolor="#0086b2" width="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td> + <td bgcolor="#ffffff"><pre><xsl:apply-templates/></pre></td> + <td bgcolor="#0086b2" width="1"><img src="resources/void.gif" 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" width="1" height="1" vspace="0" hspace="0" border="0"/></td> + <td bgcolor="#0086b2" height="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td> + <td bgcolor="#0086b2" width="1" height="1"><img src="resources/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td> + </tr> + </table> + </div> + </xsl:template> + + <xsl:template match="fixme"> + <!-- ignore on documentation --> + </xsl:template> + +<!-- ====================================================================== --> +<!-- list section --> +<!-- ====================================================================== --> + + <xsl:template match="ul|ol|dl"> + <blockquote> + <xsl:copy> + <xsl:apply-templates/> + </xsl:copy> + </blockquote> + </xsl:template> + + <xsl:template match="li"> + <xsl:copy> + <xsl:apply-templates/> + </xsl:copy> + </xsl:template> + + <xsl:template match="sl"> + <ul> + <xsl:apply-templates/> + </ul> + </xsl:template> + + <xsl:template match="dt"> + <li> + <strong><xsl:value-of select="."/></strong> + <xsl:text> - </xsl:text> + <xsl:apply-templates select="dd"/> + </li> + </xsl:template> + +<!-- ====================================================================== --> +<!-- table section --> +<!-- ====================================================================== --> + + <xsl:template match="table"> + <table width="100%" border="0" cellspacing="2" cellpadding="2"> + <caption><xsl:value-of select="caption"/></caption> + <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>  + </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/>  + </font> + </td> + </xsl:template> + + <xsl:template match="tn"> + <td bgcolor="#ffffff" colspan="{@colspan}" rowspan="{@rowspan}"> +   + </td> + </xsl:template> + + <xsl:template match="caption"> + <!-- ignore since already used --> + </xsl:template> + +<!-- ====================================================================== --> +<!-- markup section --> +<!-- ====================================================================== --> + + <xsl:template match="strong"> + <b><xsl:apply-templates/></b> + </xsl:template> + + <xsl:template match="em"> + <i><xsl:apply-templates/></i> + </xsl:template> + + <xsl:template match="code"> + <code><font face="courier, monospaced"><xsl:apply-templates/></font></code> + </xsl:template> + +<!-- ====================================================================== --> +<!-- images section --> +<!-- ====================================================================== --> + + <xsl:template match="figure"> + <p align="center"><img src="{@src}" alt="{@alt}" border="0" vspace="4" hspace="4"/></p> + </xsl:template> + + <xsl:template match="img"> + <img src="{@src}" alt="{@alt}" border="0" vspace="4" hspace="4" align="right"/> + </xsl:template> + + <xsl:template match="icon"> + <img src="{@src}" alt="{@alt}" border="0" align="absmiddle"/> + </xsl:template> + +<!-- ====================================================================== --> +<!-- links section --> +<!-- ====================================================================== --> + + <xsl:template match="link"> + <a href="{@href}"><xsl:apply-templates/></a> + </xsl:template> + + <xsl:template match="connect"> + <xsl:apply-templates/> + </xsl:template> + + <xsl:template match="jump"> + <a href="{@href}#{@anchor}"><xsl:apply-templates/></a> + </xsl:template> + + <xsl:template match="fork"> + <a href="{@href}" target="_blank"><xsl:apply-templates/></a> + </xsl:template> + + <xsl:template match="anchor"> + <a name="{@id}"><xsl:comment>anchor</xsl:comment></a> + </xsl:template> + +<!-- ====================================================================== --> +<!-- specials section --> +<!-- ====================================================================== --> + + <xsl:template match="br"> + <br/> + </xsl:template> + +</xsl:stylesheet>
\ No newline at end of file diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/document2image.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/document2image.xsl new file mode 100644 index 000000000..8416505ce --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/document2image.xsl @@ -0,0 +1,22 @@ +<?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="/"> + <xsl:variable name="label"> + <xsl:if test="//header/title"> + <xsl:value-of select="//header/title"/> + </xsl:if> + </xsl:variable> + + <image width="456" height="35" bgcolor="0086b2"> + <text font="Arial" size="29" x="454" y="8" halign="right" valign="top" color="004080" text="{$label}"/> + <text font="Arial" size="29" x="452" y="6" halign="right" valign="top" color="ffffff" text="{$label}"/> + </image> + </xsl:template> + +</xsl:stylesheet> diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/document2project.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/document2project.xsl new file mode 100644 index 000000000..619ec8344 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/document2project.xsl @@ -0,0 +1,21 @@ +<?xml version="1.0"?> + +<xsl:stylesheet + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + + <xsl:template match="/"> + <project> + <xsl:apply-templates/> + </project> + </xsl:template> + + <xsl:template match="img|figure|icon"> + <resource source="{@src}" target="{@src}"/> + </xsl:template> + + <xsl:template match="node()"> + <xsl:apply-templates/> + </xsl:template> + +</xsl:stylesheet> diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/faqs2document.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/faqs2document.xsl new file mode 100644 index 000000000..46383760c --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/faqs2document.xsl @@ -0,0 +1,50 @@ +<?xml version="1.0"?> + +<xsl:stylesheet + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + + <xsl:import href="copyover.xsl"/> + + <xsl:template match="faqs"> + <document> + <header> + <title><xsl:value-of select="@title"/></title> + </header> + <body> + <s1 title="Questions"> + <ul> + <xsl:apply-templates select="faq" mode="index"/> + </ul> + </s1> + <s1 title="Answers"> + <xsl:apply-templates select="faq"/> + </s1> + </body> + </document> + </xsl:template> + + <xsl:template match="faq" mode="index"> + <li> + <jump anchor="faq-{position()}"> + <xsl:value-of select="question"/> + </jump> + </li> + </xsl:template> + + <xsl:template match="faq"> + <anchor id="faq-{position()}"/> + <s2 title="{question}"> + <xsl:apply-templates/> + </s2> + </xsl:template> + + <xsl:template match="question"> + <!-- ignored since already used --> + </xsl:template> + + <xsl:template match="answer"> + <xsl:apply-templates/> + </xsl:template> + +</xsl:stylesheet>
\ No newline at end of file diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/scan4resources.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/scan4resources.xsl new file mode 100644 index 000000000..34d44e331 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/scan4resources.xsl @@ -0,0 +1,21 @@ +<?xml version="1.0"?> + +<xsl:stylesheet + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + + <xsl:template match="/"> + <project> + <xsl:apply-templates/> + </project> + </xsl:template> + + <xsl:template match="img|figure|icon"> + <resource source="{@src}" target="{@src}"/> + </xsl:template> + + <xsl:template match="text()"> + <!-- ignore --> + </xsl:template> + +</xsl:stylesheet> diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/spec2html.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/spec2html.xsl new file mode 100644 index 000000000..45b98dcb2 --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/spec2html.xsl @@ -0,0 +1,119 @@ +<?xml version="1.0"?> + +<xsl:stylesheet + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + +<!-- ====================================================================== --> +<!-- inherit the document2html templates --> +<!-- ====================================================================== --> + + <xsl:import href="document2html.xsl"/> + +<!-- ====================================================================== --> +<!-- header --> +<!-- ====================================================================== --> + + <xsl:template match="header"> + <div align="center"> + <table width="60%" border="0" cellspacing="2" cellpadding="2"> + <tr> + <td bgcolor="#039acc" valign="center" align="center"> + <font color="#ffffff" size="-1" face="arial,helvetica,sanserif"> + <b>Authors</b> + </font> + </td> + </tr> + <xsl:for-each select="authors/person"> + <tr> + <td bgcolor="#a0ddf0" valign="center" align="left"> + <font color="#000000" size="-1" face="arial,helvetica,sanserif"> + <b><xsl:value-of select="@name"/></b> - <xsl:value-of select="@email"/> + </font> + </td> + </tr> + </xsl:for-each> + <tr> + <td bgcolor="#039acc" valign="center" align="center"> + <font color="#ffffff" size="-1" face="arial,helvetica,sanserif"> + <b>Status</b> + </font> + </td> + </tr> + <tr> + <td bgcolor="#a0ddf0" valign="center" align="left"> + <font color="#000000" size="-1" face="arial,helvetica,sanserif"> + <b><xsl:value-of select="type"/> - <xsl:value-of select="version"/></b> + </font> + </td> + </tr> + <tr> + <td bgcolor="#039acc" valign="center" align="center"> + <font color="#ffffff" size="-1" face="arial,helvetica,sanserif"> + <b>Notice</b> + </font> + </td> + </tr> + <tr> + <td bgcolor="#a0ddf0" valign="center" align="left"> + <font color="#000000" size="-1" face="arial,helvetica,sanserif"> + <xsl:value-of select="notice"/> + </font> + </td> + </tr> + <tr> + <td bgcolor="#039acc" valign="center" align="center"> + <font color="#ffffff" size="-1" face="arial,helvetica,sanserif"> + <b>Abstract</b> + </font> + </td> + </tr> + <tr> + <td bgcolor="#a0ddf0" valign="center" align="left"> + <font color="#000000" size="-1" face="arial,helvetica,sanserif"> + <xsl:value-of select="abstract"/> + </font> + </td> + </tr> + </table> + </div> + <br/> + </xsl:template> + +<!-- ====================================================================== --> +<!-- appendices section --> +<!-- ====================================================================== --> + + <xsl:template match="appendices"> + <xsl:apply-templates/> + </xsl:template> + +<!-- ====================================================================== --> +<!-- bibliography --> +<!-- ====================================================================== --> + + <xsl:template match="bl"> + <ul> + <xsl:apply-templates/> + </ul> + </xsl:template> + + <xsl:template match="bi"> + <li> + <b> + <xsl:text>[</xsl:text> + <a href="{@href}"><xsl:value-of select="@name"/></a> + <xsl:text>]</xsl:text> + </b> + <xsl:text> "</xsl:text> + <xsl:value-of select="@title"/> + <xsl:text>", </xsl:text> + <xsl:value-of select="@authors"/> + <xsl:if test="@date"> + <xsl:text>, </xsl:text> + <xsl:value-of select="@date"/> + </xsl:if> + </li> + </xsl:template> + +</xsl:stylesheet> diff --git a/docs/xml-docs/skins/xml.apache.org/stylesheets/todo2document.xsl b/docs/xml-docs/skins/xml.apache.org/stylesheets/todo2document.xsl new file mode 100644 index 000000000..3c063e07e --- /dev/null +++ b/docs/xml-docs/skins/xml.apache.org/stylesheets/todo2document.xsl @@ -0,0 +1,33 @@ +<?xml version="1.0"?> + +<xsl:stylesheet + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + + <xsl:import href="copyover.xsl"/> + + <xsl:template match="todo"> + <document> + <header> + <title><xsl:value-of select="@title"/></title> + </header> + <body> + <xsl:apply-templates/> + </body> + </document> + </xsl:template> + + <xsl:template match="actions"> + <s2 title="{@priority}"> + <sl> + <xsl:for-each select="action"> + <li> + <strong><xsl:text>[</xsl:text><xsl:value-of select="@context"/><xsl:text>]</xsl:text></strong><xsl:text> </xsl:text> + <xsl:apply-templates/> + </li> + </xsl:for-each> + </sl> + </s2> + </xsl:template> + +</xsl:stylesheet> |