home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
- <!-- Copyright (C) 1995-2003 Jasc Software, Inc. and its licensors. -->
- <!-- All rights reserved. -->
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
- <xsl:template match="/">
- <HTML>
- <xsl:apply-templates/>
- </HTML>
- </xsl:template>
- <xsl:template match="photos">
- <xsl:apply-templates/>
- </xsl:template>
- <xsl:template match="album">
- <xsl:apply-templates select="imagelist"/>
- </xsl:template>
- <xsl:template match="imagelist">
- <xsl:apply-templates select="imageinfo"/>
- </xsl:template>
- <xsl:template match="imageinfo">
- <xsl:element name="ixfile">
- <xsl:attribute name="fname"><xsl:value-of select="html_info/@fname"/></xsl:attribute>
-
- <head>
-
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <meta name="copyright" content="Copyright (C) 1995-2003 Jasc Software, Inc. and its licensors. All rights reserved."/>
-
- </head>
-
- <BODY background="textures/bg2.gif">
- <table align="center" width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
- <tr>
- <td rowspan="2" valign="top" background="graphics/leftnavtransparent.gif"><div align="center">
- <br kludge=""/>
- <br kludge=""/>
- <br kludge=""/>
- <br kludge=""/>
- <br kludge=""/>
- <br kludge=""/>
- <br kludge=""/>
- <br kludge=""/>
- <xsl:apply-templates select="previous"/>
- <br kludge=""/>
- <xsl:apply-templates select="next"/><br kludge=""/><xsl:choose>
- <xsl:when test="audio_info/@fname[. != '']">
- <div align="center"><xsl:apply-templates select="audio_info"/></div>
- </xsl:when>
- <xsl:otherwise>
- <div align="center"><img border="0" src="graphics/transparenth120.gif" width="1" height="1"/></div>
- </xsl:otherwise>
- </xsl:choose><xsl:choose>
- <xsl:when test="movie_info/@fname[. != '']">
- <div align="center"><xsl:apply-templates select="movie_info"/></div>
- </xsl:when>
- <xsl:otherwise>
- <div align="center"><img border="0" src="graphics/transparenth120.gif" width="1" height="1"/></div>
- </xsl:otherwise>
- </xsl:choose></div></td>
- <td bgcolor="#6699ff"><center>
- <b>
- <xsl:value-of select="title"/>
- </b>
- </center></td>
- </tr>
- <tr>
- <td valign="top" height="90%" width="100%"><table align="center" cellspacing="0" cellpadding="0" border="0">
- <tr>
- <td valign="top"><table width="100%" align="center" cellspacing="0" cellpadding="0" border="0">
- <tr>
- <td><center><img src="graphics/chain.gif" width="5" height="40" border="0" alt="chain"/></center></td>
- <td><center><img src="graphics/chain.gif" width="5" height="40" border="0" alt="chain"/></center></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td><table align="center" cellspacing="2" cellpadding="2" border="7" bordercolor="#6699ff">
- <tr>
- <td><IMG><xsl:attribute name="src"><xsl:value-of select="@fname"/></xsl:attribute><xsl:attribute name="width"><xsl:value-of select="imagesize/@width"/></xsl:attribute>
- <xsl:attribute name="height"><xsl:value-of select="imagesize/@height"/></xsl:attribute>
- <xsl:attribute name="alt"><xsl:value-of select="title"/></xsl:attribute></IMG></td>
- </tr>
- </table></td>
- </tr>
- </table>
- <div align="center">
- <br kludge=""/>
- <table width="500" border="0" cellspacing="1" cellpadding="1">
- <tr>
- <td><div align="center"><strong><xsl:value-of select="description"/></strong></div></td>
- </tr>
- </table></div></td>
- </tr>
- </table>
- </BODY>
- </xsl:element>
- </xsl:template>
- <xsl:template match="audio_info">
- <xsl:if match="audio_info[@fname != '']">
- <A><xsl:attribute name="href"><xsl:value-of select="@fname"/></xsl:attribute>
- <img border="0" src="graphics/sound.gif"/></A>
- </xsl:if>
- </xsl:template>
- <xsl:template match="movie_info">
- <A><xsl:attribute name="href"><xsl:value-of select="@fname"/></xsl:attribute>
- <img border="0" src="graphics/movie.gif" width="24" height="28"/></A>
- </xsl:template>>
- <xsl:template match="previous">
- <xsl:value-of/>
- <xsl:choose>
- <xsl:when match="previous[@fname != '']">
- <A><xsl:attribute name="href"><xsl:value-of select="@fname"/></xsl:attribute>
- <img src="graphics/back1.gif" width="90" height="32" border="0" hspace="5"/></A>
- </xsl:when>
- <xsl:otherwise>
- <img src="graphics/placeholder.gif" width="90" height="32" hspace="5"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- <xsl:template match="next">
- <xsl:value-of/>
- <xsl:choose>
- <xsl:when match="next[@fname != '']">
- <A><xsl:attribute name="href"><xsl:value-of select="@fname"/></xsl:attribute>
- <img src="graphics/next1.gif" width="90" height="32" border="0" hspace="5"/></A>
- </xsl:when>
- <xsl:otherwise>
- <img src="graphics/placeholder.gif" width="90" height="32" hspace="5"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- </xsl:stylesheet>
-