<?xml version="1.0" ?>
<xsl:stylesheet version="1.0"
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:mc="http://www.redslider.net/ns/messagecatalog.1.0"
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:param name="lang">en</xsl:param>

<xsl:template match="/html">
    <html xmlns="http://www.w3.org/1999/xhtml" 
          lang="{$lang}" xml:lang="{$lang}">
        <xsl:apply-templates/>
    </html>
</xsl:template>

<xsl:template match="head">
    <head>
        <xsl:apply-templates/>
    </head>
</xsl:template>

<xsl:template match="body">
    <body>
        <xsl:apply-templates/>

        <p>
        localizer_creator added labels in <xsl:value-of select="$lang"/>
        </p>
    </body>
</xsl:template>

<xsl:template match="title">
    <title>
        <mc:label>Title</mc:label>
        <xsl:text>: </xsl:text>
        <xsl:apply-templates/>
    </title>
</xsl:template>

<xsl:template match="h1">
    <h1>
        <mc:label>Title</mc:label>
        <xsl:text>: </xsl:text>
        <xsl:apply-templates/>
    </h1>
</xsl:template>

<xsl:template match="p">
    <p>
        <mc:gettext key="Paragraph"/>
        <xsl:text>: </xsl:text>
        <xsl:apply-templates/>
    </p>
</xsl:template>

</xsl:stylesheet>

