PageRenderTime 35ms CodeModel.GetById 32ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/demo/exe/static_content/xsl/test.xsl

http://github.com/ThomasLocke/yolk
Extensible Stylesheet Language Transformations | 22 lines | 20 code | 2 blank | 0 comment | 0 complexity | fdc574e6a8f88b8ee014e556f0f2fc3d MD5 | raw file
 1<?xml version="1.0" encoding="iso-8859-1"?>
 2<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 3
 4<xsl:template match="core">
 5    <html>
 6    <head>
 7        <meta charset="iso-8859-1"/>
 8        <link rel="icon" href="/images/favicon.ico" type="image/x-icon"/>
 9        <title>
10            <xsl:value-of select="title"/>
11        </title>
12    </head>
13<body>
14    <h2><xsl:value-of select="headline"/></h2>
15    <p>
16        <a href="{goback/@url}"><xsl:value-of select="goback"/></a>
17    </p>
18</body>
19</html>
20</xsl:template>
21
22</xsl:stylesheet>