<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 xmlns:loc="urn:Localization-Properties"
 version="1.0">

 <xsl:template match="/fwdata">
  <HTML>
   <HEAD>
    <SCRIPT>
     function MakeTopRuler ( p_nWidth )
     {
        var strNum = "1234567890123456789012345678901234567890";
        var strLine = "";

        for ( var i=1; i!=p_nWidth; i++ )
        {
           if ( i % 5 ) strLine += '-';
           else strLine += '+';
        }
        strLine += '|';
        document.writeln(strNum.substring(0, p_nWidth));
        document.write(strLine);
     }
     function MakeBottomRuler ( p_nWidth )
     {
        var strNum = "1234567890123456789012345678901234567890";
        var strLine = "";

        for ( var i=1; i!=p_nWidth; i++ )
        {
           if ( i % 5 ) strLine += '-';
           else strLine += '+';
        }
        strLine += '|';
        document.writeln(strLine);
        document.write(strNum.substring(0, p_nWidth));
     }
    </SCRIPT>
   </HEAD>
   <BODY>
     <P>The text in <B>Bold</B> should be translated except the text in 
<B><FONT COLOR="Red">Red</FONT></B>. Variables are represented by markers 
in the form of [var], where var is the name of the variable. Messages with 
variables are not in the correct length.</P>
     <xsl:apply-templates/>
   </BODY>
  </HTML>
 </xsl:template>

 <xsl:template match="//value">
 </xsl:template>

 <xsl:template match="//msg">
  <PRE>--- ID: <xsl:value-of select='@id'/>
    maximum width: <xsl:value-of select='@loc:maxwidth'/>
<BR/><SCRIPT>MakeTopRuler(<xsl:value-of select='@loc:maxwidth'/>);</SCRIPT>
<BR/><B><xsl:apply-templates/></B><BR/>
<SCRIPT>MakeBottomRuler(<xsl:value-of select='@loc:maxwidth'/>);</SCRIPT>
</PRE>
 </xsl:template>

 <xsl:template match="//var">
  <FONT COLOR="Red">[<xsl:value-of select='@id'/>]</FONT>
 </xsl:template>

</xsl:stylesheet>
  