home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="windows-1252"?>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:z="#RowsetSchema">
- <xsl:output method="html" indent="yes" encoding="UTF-8"/>
- <xsl:param name="ParamGroup">General</xsl:param>
- <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
- <xsl:template match="/">
- <html>
- <head>
- <title>Group details</title>
- <style>
- <xsl:value-of select="document('css.xml')/stylesheets/style[@id='default']"/>
- </style>
- <!--
- <script language="VBScript"><![CDATA[
- function toggle( obj, img )
- set oImg = document.all.item(img)
- set oObj = document.all.item(obj)
-
- if oObj.style.display = "none" then
- oObj.style.display = ""
- OImg.src = "]]>-->
- <!--<xsl:value-of select="$GraphicsPath"/>-->
- <!--<![CDATA[minus.gif"
- else
- oObj.style.display = "none"
- oImg.src = "]]>-->
- <!--<xsl:value-of select="$GraphicsPath"/>-->
- <!--<![CDATA[plus.gif"
- end if
- end function
- ]]></script>-->
- </head>
- <!-- body begins -->
- <body bgcolor="#ffffff" topmargin="0" leftmargin="0" rightmargin="0">
- <!-- top bar -->
- <!--
- <table width="100%" border="0" cellpadding="0" cellspacing="0" height="0">
- <tr>
- <td>
- <div align="left">
- <img src="top_menu_left.gif" border="0" hspace="10" alt="GFI"/>
- </div>
- </td>
- <td>
- <div align="right">
- <img src="top_menu_right.jpg" border="0"/>
- </div>
- </td>
- </tr>
- <tr>
- <td bgcolor="#000000" colspan="2" height="2"/>
- </tr>
- </table>
- -->
- <!-- Table that encapsulates all other details -->
- <table cellpadding="0" cellspacing="0" style="border-collapse: collapse" border="0" width="98%" align="center">
- <tr>
- <td>
- <!-- report title -->
- <!--<div align="center">
- <table cellpadding="0" cellspacing="0" border="0" width="100%" style="border-collapse: collapse">
- <tr>
- <td class="MainHeading">
- <xsl:value-of select="$ParamGroup"/>
- </td>
- </tr>
- <tr>
- <td class="normal">
- <xsl:value-of select="description"/>
- </td>
- </tr>
- </table>
- </div>-->
- <xsl:for-each select="MainFrameworkConfigurationNode/Configuration">
- <xsl:if test="@section='NavBarConfig'">
- <xsl:for-each select="NavBarTools/group[@name=$ParamGroup]">
- <div align="center">
- <table cellpadding="0" cellspacing="0" border="0" width="100%" style="border-collapse: collapse">
- <tr>
- <td colspan="2" height="20"/>
- </tr>
- <tr>
- <td style="font-family:arial; font-size:14pt; font-weight:bold">
- <xsl:value-of select="@name"/>
- </td>
- </tr>
- <xsl:if test="tool[position()=1]/description != ''">
- <tr class="TableItem1">
- <td style="font-family:arial; font-size:8pt; padding-left:2px">
- <xsl:value-of select="tool[position()=1]/description"/>
- </td>
- </tr>
- </xsl:if>
- <!--<xsl:if test="@description != ''">
- <tr class="TableItem1">
- <td style="font-family:arial; font-size:8pt; padding-left:2px">
- <xsl:value-of select="@description"/>
- </td>
- </tr>
- </xsl:if>-->
- </table>
- </div>
- <hr/>
- <!--<br/>-->
- <xsl:call-template name="Group"/>
- </xsl:for-each>
- </xsl:if>
- </xsl:for-each>
- </td>
- </tr>
- </table>
- <!--
- <table width="100%" border="0" cellpadding="0" cellspacing="0" height="0">
- <tr>
- <td bgcolor="#000000" width="10"/>
- <td bgcolor="#000000" align="left" valign="center" height="20" class="normal" style="color:white">⌐ 2005. All rights reserved. GFI Software Ltd.</td>
- </tr>
- </table>
- -->
- </body>
- </html>
- </xsl:template>
- <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
- <!-- created to override default template -->
- <xsl:template match="text() | @*">
- <!-- do nothing -->
- </xsl:template>
- <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
- <xsl:template name="Group">
- <xsl:variable name="CreateDate" select="@CreatedOn"/>
- <xsl:variable name="position" select="position()"/>
- <div align="right">
- <table cellpadding="0" cellspacing="1" border="0" style="border-collapse: collapse;" width="99%">
- <!--<tr>
- <td height="7" colspan="2"/>
- </tr>-->
- <!-- spacer -->
- <!--<tr>
- <td class="TableHeader" width="10">
- <div style="cursor: hand;" onclick="toggle 'Details{$position}', 'Details{$position}Img'">
- <img id="Details{$position}Img" src="plus.gif" title="Comparison Details" alt="Comparison Details" height="12" width="12"/>
- </div>
- </td>
- <td class="TableHeader">Comparison Details</td>
- </tr>-->
- <tr id="Details{$position}">
- <!--style="display:none;"-->
- <!--<td/>-->
- <td style="padding-left:3px;">
- <table cellpadding="0" cellspacing="1" border="0" style="border-collapse: collapse;" width="100%">
- <tr>
- <td colspan="2" height="15"/>
- </tr>
- <!-- spacer -->
- <!-- Version Breakdown -->
- <xsl:for-each select="*">
- <xsl:if test="local-name()='tool' and position()!=1">
- <xsl:if test="description !=''">
- <tr>
- <td colspan="2" style="border-bottom:0px solid #7799bb; letter-spacing:2px; font-family:arial; font-size:10pt; padding-bottom:2px; background-color: e7e7e7; color:ffffff">
- <b>
- <xsl:variable name="hrefval">http://LINK_ID_<xsl:value-of select="name"/></xsl:variable>
- <a style="color:000000;text-decoration:none " href="{$hrefval}">
- <xsl:value-of select="name"/>
- </a>
- </b>
- </td>
- </tr>
- <!--<tr>
- <td colspan="2" height="7"/>
- </tr>-->
- <!-- spacer -->
- <tr>
- <td colspan="2" height="0"/>
- </tr>
- <tr class="TableItem1">
- <!--<td width="10"/>-->
- <td>
- <table cellpadding="0" cellspacing="1" border="0" style="border-collapse: collapse; padding-bottom: 0px">
- <tr>
- <td style="font-family:arial; font-size:8pt;">
- <xsl:value-of select="description"/>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td colspan="2" height="15"/>
- </tr>
- <!-- spacer -->
- </xsl:if>
- </xsl:if>
- <xsl:if test="local-name()='group'">
- <xsl:variable name="vID" select="@group_id"/>
- <xsl:for-each select="../../group[@group_id=$vID]">
- <xsl:for-each select="tool[position()=1]">
- <xsl:if test="description !=''">
- <tr>
- <td colspan="2" style="border-bottom:0px solid #7799bb; letter-spacing:2px; font-family:arial; font-size:10pt; padding-bottom:2px; background-color: e7e7e7; color:ffffff">
- <b>
- <xsl:variable name="hrefval">http://LINK_ID_<xsl:value-of select="name"/></xsl:variable>
- <a style="color:000000;text-decoration:none " href="{$hrefval}">
- <xsl:value-of select="name"/>
- </a>
- </b>
- </td>
- </tr>
- <!--<tr>
- <td colspan="2" height="7"/>
- </tr>-->
- <!-- spacer -->
- <tr>
- <td colspan="2" height="0"/>
- </tr>
- <tr class="TableItem1">
- <!--<td width="10"/>-->
- <td>
- <table cellpadding="0" cellspacing="1" border="0" style="border-collapse: collapse; padding-bottom: 0px">
- <tr>
- <td style="font-family:arial; font-size:8pt;">
- <xsl:value-of select="description"/>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td colspan="2" height="15"/>
- </tr>
- <!-- spacer -->
- </xsl:if>
- </xsl:for-each>
- </xsl:for-each>
- </xsl:if>
- </xsl:for-each>
- </table>
- </td>
- </tr>
- </table>
- </div>
- <!--<hr/>
- <br/>-->
- </xsl:template>
- </xsl:stylesheet>
-