Login   Register  
PHP Classes
elePHPant
Icontem

File: test.xsl

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Gregory  >  Cached XSL  >  test.xsl  >  Download  
File: test.xsl
Role: Auxiliary data
Content type: text/plain
Description: XSL stylesheet example
Class: Cached XSL
XSL transformation wrapper with caching
Author: By
Last change:
Date: 2004-07-10 15:24
Size: 1,193 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">	
<xsl:template match="info">
<html>
<head>
	<title><xsl:value-of select="name"/> v<xsl:value-of select="version"/> by <xsl:value-of select="author"/></title>
</head>
<body><center><br /><br />
<table width="320">
<tr>
<td>
	<fieldset style="border: 1px solid;"><legend class="p">Class: <xsl:value-of select="name"/></legend>
	<table width="100%" align="center" border="0" cellpadding="2" cellspacing="0">
	<tr>
	<td><b>Version:</b></td>
	<td><xsl:value-of select="version"/>, build <xsl:value-of select="build"/></td>
	</tr>

	<tr>
	<td><b>License:</b></td>
	<td><xsl:value-of select="license"/></td>
	</tr>

	<tr>
	<td><b>Author:</b></td>
	<td><xsl:value-of select="author"/>
		<br />
		<xsl:value-of select="city"/>, <xsl:value-of select="country"/>
	</td>
	</tr>

	<tr>
	<td><b>e@mail:</b></td>
	<td><xsl:value-of select="email"/></td>
	</tr>

	<tr>
	<td><b>Site:</b></td>
	<td><xsl:value-of select="url"/></td>
	</tr>
	</table>
	</fieldset>
</td>
</tr>
</table>
</center>
</body>
</html>
</xsl:template>
</xsl:stylesheet>