Login   Register  
PHP Classes
elePHPant
Icontem

File: Example/head.inc.xsl

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Pierre-Henry Soria  >  XSLT PHP Template Engine  >  Example/head.inc.xsl  >  Download  
File: Example/head.inc.xsl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: XSLT PHP Template Engine
Process templates using XSLT
Author: By
Last change:
Date: 2 years ago
Size: 809 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

    <xsl:template name="metatags">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title><xsl:value-of select="$title" /></title>
        <meta name="description" content="{$description}" />
        <meta name="keywords" content="{$keywords}" />
        <meta name="robots" content="index, follow, all" />
        <link rel="icon" type="image/x-icon" href="http://ph-7.github.com/favicon.ico" />
        <meta name="author" content="Pierre-Henry Soria" />
    </xsl:template>

    <xsl:template name="css">
        <link rel="stylesheet" type="text/css" href="style.css" />
    </xsl:template>

</xsl:stylesheet>