summaryrefslogtreecommitdiff
path: root/templates/moontv.fi/description.xsl
blob: 6665f7f834577c84cbabe98540268ae1be12ba6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">
<wvmenu>
  <title><xsl:value-of select="normalize-space(concat(substring-before(//div[@id='single-entry']/h3, '&#8211;'), ' - ' , substring-after(//div[@id='single-entry']/h3, '&#8211;')))"/></title>
  <textarea>
    <label><xsl:value-of select="//div[@id='single-entry']/p"/></label>
  </textarea>
  <textarea>
    <!-- Julkaistu -->
    <label>Julkaistu: <xsl:value-of select="//div[@id='single-entry']/div[@class='entry-footer']/p"/></label>
  </textarea>
</wvmenu>
</xsl:template>

</xsl:stylesheet>