<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

<xsl:strip-space elements="*"/>

<xsl:output method="html"
            encoding="ISO-8859-1"/>

<!-- Created by Johan Lindgren (TT, Sweden) to show various possible outputs from SportsML.
     It's not intended to handle all possible combinations of data in SportsML -
     but to show how some date can be grouped and presented. 
     Primarily for the development process of SportsML itself.
     -->


<!--      MAIN NITF TEMPLATE   -->
<xsl:template match="nitf">
	<xsl:apply-templates />
</xsl:template>

<xsl:template match="body.head|body.content|hedline">

 <xsl:apply-templates />

</xsl:template>


<xsl:template match="p">

 <p class="nitfp"><xsl:apply-templates /></p>

</xsl:template>

<xsl:template match="byline">

 <p class="nitfby">
   <xsl:apply-templates/>
  </p>

</xsl:template>
<xsl:template match="person">
<b><xsl:value-of select="."/></b>
</xsl:template>

<xsl:template match="byttl">
/<xsl:value-of select="."/>/
</xsl:template>

<xsl:template match="hl1|hl2|hl3">

 <h3 class="nitfhl1"><xsl:apply-templates /></h3>

</xsl:template>



</xsl:stylesheet>