<?xml version="1.0" ?>
<xsl:stylesheet
	version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns:xlink="http://ww.w3.org/TR/xlink">

<xsl:output method="html" 
	    encoding="utf-8"/>

<xsl:template match="/">
	<html >
	<head>
		<title>Talva demo</title> 
	</head>
	<body bgcolor="#FFFFFF"> 
	<br/><br/><br/><br/><br/><br/><br/>
	<div align="center">
	  <table border="1" cellspacing="0" cellpadding="0">
	  <table border="0" width="400" bgcolor="#C0C0C0" cellspacing="0" cellpadding="5">
	    <tr>
	      <td bgcolor="#000000"><font color="#FFFFFF" face="Arial">Talva Demo logon</font></td>
	    </tr>
	     <tr>
		<td>
		  <font face="Arial">
		  <div align="center">
	     	  
		  <form>
			<xsl:attribute name="action"><xsl:value-of select="/xdoc/xform/@action" /></xsl:attribute>
			<xsl:attribute name="name"><xsl:value-of select="/xdoc/xform/@id" /></xsl:attribute>

		  <table border="0" cellspacing="5" cellpadding="0">
			<xsl:apply-templates/>
		  </table>
		  <input align="right">
			<xsl:attribute name="value"><xsl:value-of select="/xdoc/xform/@title" /></xsl:attribute>
			<xsl:attribute name="type">submit</xsl:attribute>
			<xsl:attribute name="name"><xsl:value-of select="/xdoc/xform/@id" /></xsl:attribute>
		  </input>
		  </form>
		  </div>
		  
		  </font> 
	       </td>
	     </tr>
	  </table>
	  </table>
	</div>
	</body> 
	</html>
</xsl:template>

<xsl:template match="xform/model/group">
	<xsl:for-each select="//string">
		<tr>
		      <td width="80" valign="middle" align="left"><xsl:value-of select="./@name"/></td>
		      <td colspan="2">
			      <input type="text">
				 <xsl:attribute name="name"><xsl:value-of select="./@name"/></xsl:attribute>
				 <xsl:attribute name="size">20</xsl:attribute>
			      </input>
		      </td>
		</tr>
	</xsl:for-each>
</xsl:template>

</xsl:stylesheet>