home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 May / CHIP_CD_2003-05.iso / software / jpspa / files / ppa400ev.exe / Data1.cab / toc.xsl10 < prev    next >
Encoding:
Extensible Markup Language  |  2003-02-17  |  2.1 KB  |  53 lines

  1. <?xml version="1.0"?>
  2. <!-- Copyright (C) 1995-2003 Jasc Software, Inc. and its licensors. -->
  3. <!-- All rights reserved. -->
  4. <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
  5.     <xsl:template match="/">
  6.         <HTML>
  7.             <xsl:apply-templates select="photos"></xsl:apply-templates>
  8.         </HTML>
  9.     </xsl:template>
  10.     <xsl:template match="photos">
  11.         <BODY bgcolor="#FFFFFF" background="patterns/graypattern.gif" link="white" vlink="white" alink="white">
  12.             <xsl:apply-templates select="album"></xsl:apply-templates>
  13.         </BODY>
  14.     </xsl:template>
  15.     <xsl:template match="album">
  16.         <head>
  17.         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  18.         <meta name="copyright" content="Copyright (C) 1995-2003 Jasc Software, Inc. and its licensors. All rights reserved."/>
  19.         
  20.     </head>
  21.         <table border="0" cellspacing="0" cellpadding="0" width="100%">
  22.             <tr>
  23.                 <td valign="top" width="195">
  24.                     <table width="195" border="0" cellspacing="0" cellpadding="0" align="right">
  25.                         <tr>
  26.                             <td background="graphics/filmback.gif" width="199">
  27.                                 <div align="center">
  28.                                     <xsl:apply-templates select="imagelist/imageinfo"></xsl:apply-templates>
  29.                                 </div>
  30.                             </td>
  31.                         </tr>
  32.                         <tr>
  33.                             <td width="200"></td>
  34.                         </tr>
  35.                     </table>
  36.                     <div align="right">
  37.                         <br kludge=""/>
  38.                     </div>
  39.                 </td>
  40.             </tr>
  41.         </table>
  42.     </xsl:template>
  43.     <xsl:template match="imageinfo">
  44.         <br kludge=""></br>
  45.         <A target="main"><xsl:attribute name="href"><xsl:value-of select="html_info/@fname"></xsl:value-of></xsl:attribute>
  46.             <xsl:apply-templates select="thumbinfo"></xsl:apply-templates></A>
  47.     </xsl:template>
  48.     <xsl:template match="thumbinfo">
  49.         <IMG border="2"><xsl:attribute name="src"><xsl:value-of select="@fname"></xsl:value-of></xsl:attribute><xsl:attribute name="width"><xsl:value-of select="thumbsize/@width"/></xsl:attribute>
  50.             <xsl:attribute name="height"><xsl:value-of select="thumbsize/@height"/></xsl:attribute>
  51.             <xsl:attribute name="alt"><xsl:value-of select="../title"/></xsl:attribute></IMG></xsl:template>
  52. </xsl:stylesheet>
  53.