mirror of
https://github.com/g-truc/glm.git
synced 2024-11-14 14:04:36 +00:00
93 lines
3.1 KiB
XML
93 lines
3.1 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
<xsl:output method="html" media-type="text/html; charset=ISO-8859-1" />
|
|
|
|
<xsl:include href="./util.xsl" />
|
|
|
|
<xsl:template match="/">
|
|
<html>
|
|
<head>
|
|
<title>OpenGL Mathematics: Goodies</title>
|
|
<meta http-equiv="Content-Language" content="en" />
|
|
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=iso-8859-1" />
|
|
<meta name="copyright" content="G-Truc Creation" />
|
|
<link href="./common/style.css" rel="stylesheet" media="screen, print, embossed" type="text/css" />
|
|
|
|
<script type="text/javascript">
|
|
var _gaq = _gaq || [];
|
|
_gaq.push(['_setAccount', 'UA-20182250-1']);
|
|
_gaq.push(['_setDomainName', '.g-truc.net']);
|
|
_gaq.push(['_trackPageview']);
|
|
|
|
(function() {
|
|
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
|
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
|
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
|
})();
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<table>
|
|
<tr>
|
|
<td class="menu">
|
|
<xsl:apply-templates select="./glm/menu" />
|
|
</td>
|
|
<td class="page">
|
|
<div class="title1">
|
|
<img src="./common/title.png" alt="OpenGL Mathematics" />
|
|
</div>
|
|
<xsl:apply-templates select="./glm/about-short" />
|
|
<br />
|
|
<xsl:apply-templates select="./glm/goodies/goodie" />
|
|
|
|
<div class="email">
|
|
<img src="./common/email.png" alt="email not available as text" />
|
|
</div>
|
|
<div class="news-separator">_________________</div>
|
|
<br />
|
|
<div class="title3">
|
|
<xsl:value-of select="./glm/@copyright" />
|
|
<a href="http://www.g-truc.net">G-Truc Creation</a>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="goodie">
|
|
<div>
|
|
<div class="title-date">
|
|
<xsl:value-of select="./@date" />
|
|
</div>
|
|
<div class="title4">
|
|
<xsl:value-of select="./@title" />
|
|
</div>
|
|
<div>
|
|
<table style="width:100%;">
|
|
<tr style="width:100%;">
|
|
<td>
|
|
<xsl:if test="./paragraph">
|
|
<xsl:apply-templates select="./paragraph" />
|
|
</xsl:if>
|
|
<xsl:if test="./list">
|
|
<xsl:apply-templates select="./list" />
|
|
</xsl:if>
|
|
<xsl:apply-templates select="./source" />
|
|
</td>
|
|
<td style="text-align:right;">
|
|
<a ref="{./@image}">
|
|
<img src="{./@image-mini}" alt=" " />
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="news-separator">_________________</div>
|
|
<br />
|
|
</div>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|