PHP Classes

File: Example/_layout.xsl

Recommend this page to a friend!
  Classes of Pierre-Henry Soria   XSLT PHP Template Engine   Example/_layout.xsl   Download  
File: Example/_layout.xsl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: XSLT PHP Template Engine
Process templates using XSLT
Author: By
Last change: Update of Example/_layout.xsl
Date: 5 months ago
Size: 1,512 bytes


Class file image Download
<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns="" xmlns:xsl="" xmlns:php="" exclude-result-prefixes="php"> <!-- Output in HTML5 with doctype-system="about:legacy-compat" --> <xsl:output method="xml" omit-xml-declaration="yes" doctype-system="about:legacy-compat" encoding="utf-8" /> <xsl:include href="" /> <xsl:template match="/"> <html lang="{$lang}"> <head> <xsl:call-template name="metatags" /> <xsl:call-template name="css" /> </head> <body> <div id="container"> <header> <xsl:element name="h1"><xsl:value-of select="$heading1" /></xsl:element> </header> <section> <xsl:apply-templates /> </section> <footer> <p>Powered By <strong> <a> <xsl:attribute name="href"><xsl:value-of select="$copyright-link" /></xsl:attribute> <xsl:attribute name="title"><xsl:value-of select="$copyright-title-link" /></xsl:attribute> <xsl:value-of select="$copyright-title-link" /> </a> </strong> &#169; 2012 - <xsl:value-of select="php:function('date', 'Y')" />. &#160; &#8226; &#160; This website is valid <a href=""><abbr title="HyperText Markup Language 5">HTML5</abbr></a></p> </footer> </div> </body> </html> </xsl:template> </xsl:stylesheet>