<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" version="1.0"
doctype-public="-//W3C//DTD XHTML 1.1//EN"
doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
encoding="UTF-8"
omit-xml-declaration="no" indent="yes"/>

<xsl:template match="templates">
<html>
<head>
<title>Zend Studio Code Templates</title>
<link rel="stylesheet" href="http://www.exploit.cz/css/screen.css" type="text/css" media="screen, projection" /> 
<link rel="stylesheet" href="http://www.exploit.cz/css/print.css" type="text/css" media="print" /> 

</head>
<body>

<div class="container">

<h1>Zend Studio Code Templates</h1>

<hr />

<p>Pokud používáte automatické doplňování kódu v Eclipse (Zend Studiu) bude se Vám hodit následující tabulka šablon. Pokud nevíte jak ji použít, zkuste v editoru napsat například "cls" a stisknout "ctrl+space". Vlastní šablony si můžete přidat v nastavení: Window-&gt;Preferences-&gt;PHP-&gt;Editor-&gt;Templates.</p>

<hr />

<table border="1">
<xsl:for-each select="template">
<xsl:if test="@autoinsert='false'">
<tr><th width="200"><xsl:value-of select="@name"/></th><th><xsl:value-of select="@description"/></th></tr>
<tr><td colspan="2"><pre><xsl:value-of select="."/></pre></td></tr>
</xsl:if> 
</xsl:for-each> 
</table>

</div>
</body>
</html>
</xsl:template>


</xsl:stylesheet>