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

  1. <!-- Copyright (C) 1995-2003 Jasc Software, Inc. and its licensors. -->
  2. <!-- All rights reserved. -->
  3. <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
  4. <xsl:template match="/">
  5. <HTML><xsl:apply-templates/></HTML>
  6. </xsl:template>
  7. <xsl:template match="image">
  8. <TITLE><xsl:value-of select="title"/></TITLE>    <HEAD><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/><meta name="copyright" content="Copyright (C) 1995-2003 Jasc Software, Inc. and its licensors. All rights reserved."/></HEAD>
  9. <BODY><DIV ALIGN = "center"><B><xsl:value-of select="title"/></B><BR kludge="" />
  10. <IMG><xsl:attribute name="src"><xsl:value-of select="filename"/></xsl:attribute><xsl:attribute name="width"><xsl:value-of select="imagesize/@width"/></xsl:attribute>
  11. <xsl:attribute name="height"><xsl:value-of select="imagesize/@height"/></xsl:attribute> </IMG>
  12. <HR size="3" ALIGN = "center" />
  13. <xsl:apply-templates select="description">
  14. <!-- recursively apply this template to them -->
  15. <xsl:template><xsl:copy><xsl:apply-templates select="@* | * | comment() | pi() | text()"/></xsl:copy></xsl:template></xsl:apply-templates></DIV></BODY></xsl:template>
  16. </xsl:stylesheet>
  17.  
  18.  
  19.