"Fossies" - the Fresh Open Source Software Archive

Member "openmailadmin-1.0.1/samples/xml_index/oma_tabular.xsl" (1 Jun 2008, 2489 Bytes) of package /linux/privat/old/openmailadmin-1.0.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <?xml version="1.0" encoding="UTF-8"?>
    2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    3 <xsl:template match="/services">
    4     <html>
    5     <head>
    6         <title><xsl:value-of select="title" /></title>
    7         <link rel="stylesheet" href="/openmailadmin/design/shadow.css" type="text/css" />
    8     </head>
    9     <body><div class="body">
   10         <xsl:for-each select="service">
   11             <table border="0" cellpadding="0" cellspacing="0">
   12                 <tr>
   13                     <td>
   14                         <table border="0" cellpadding="2" cellspacing="0">
   15                             <tr><td class="caption">&#160;<xsl:value-of select="@typename" />&#160;</td></tr>
   16                         </table>
   17                     </td>
   18                     <td class="sh_hor">
   19                         <img border="0" src="/openmailadmin/images/sh_lu.gif" width="6" height="6" alt="\" />
   20                     </td>
   21                 </tr>
   22             </table>
   23             <table border="0" cellpadding="0" cellspacing="0">
   24                 <tr>
   25                     <td>
   26                         <table border="0" cellpadding="1" cellspacing="1">
   27                             <xsl:for-each select="application">
   28                             <tr>
   29                                 <td class="std" width="580"><b><a><xsl:attribute name="href"><xsl:value-of select="@href" /></xsl:attribute>
   30                                 <xsl:attribute name="title"><xsl:value-of select="@name" /></xsl:attribute>
   31                                 <xsl:value-of select="@name" /></a></b><br /><xsl:value-of select="." /></td>
   32                             </tr>
   33                             </xsl:for-each>
   34                         </table>
   35                     </td>
   36                     <td class="sh_hor">
   37                         <img border="0" src="/openmailadmin/images/sh_lu.gif" width="6" height="6" alt="\" />
   38                     </td>
   39                 </tr>
   40                 <tr>
   41                     <td class="sh_ver">
   42                         <img border="0" src="/openmailadmin/images/sh_ro.gif" width="6" height="6" alt="+" />
   43                     </td>
   44                     <td align="right" class="sh_ver">
   45                         <img border="0" src="/openmailadmin/images/sh_lo.gif" width="6" height="6" alt="\" />
   46                     </td>
   47                 </tr>
   48             </table>
   49             <br /><br />
   50         </xsl:for-each>
   51     </div></body>
   52     </html>
   53 </xsl:template>
   54 </xsl:stylesheet>