<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> 
<xsl:template match="/"> 

<HTML> 
<Head> 
	<Title> <xsl:value-of select="XML/Name"/> </Title> 
</Head> 
<Body>
<font face="Arial">
	<font size="5"><B><P align="center">Formular: "<xsl:value-of select="XML/DocumentProperties/Application/Title"/>"</P></B></font>
	<br> </br>
	<p></p>
	<p><font size="3"><b>Information:</b></font></p>

	<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" 	id="AutoNumber1">
	<tr>
		<td ><font size="2">Autor:</font></td> 
		<td width="85%"><font size="2"><xsl:value-of select="XML/DocumentProperties/Header/Author"/></font></td> 
	</tr> 
	<tr>
		<td ><font size="2">Version:</font></td> 
		<td width="85%"><font size="2"><xsl:value-of select="XML/DocumentProperties/Header/Version"/></font></td> 
	</tr> 
	<tr>
		<td ><font size="2">Beschreibung:</font></td> 
		<td width="85%"><font size="2"><xsl:value-of select="XML/DocumentProperties/Header/Description"/></font></td> 
	</tr> 
	</table>
	<p></p>
	<table border="0" cellpadding="4" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" 	id="AutoNumber1">
		<xsl:for-each select="XML/DocumentProperties/Forms/Form">
			<tr> 
				<td><br> </br></td> 
				<td><br> </br></td> 
			</tr>
			<tr>
				<td valign="top" width="30%"> <font size="3"><b>Seite: "<xsl:value-of select="Name"/>"</b></font>
				<td><font size="2"><xsl:value-of select="Comment"/></font><br> </br></td>

			<tr>
				<td width="30%" style="border-bottom-style: solid; border-bottom-width: 1"><font size="2"><i><b>Beschriftung</b></i></font></td> 
				<td style="border-bottom-style: solid; border-bottom-width: 1"><font size="2"><i><b>Beschreibung</b></i></font></td> 
			</tr> 
			<xsl:for-each select="Controls/Control" order-by="Label"> 
			<xsl:if test="string(Comment)">
			<tr> 
		        	<td width="30%" style="border-bottom-style: solid; border-bottom-width: 1"><font size="2"> <xsl:value-of select="Label"/> </font></td> 
				<td style="border-bottom-style: solid; border-bottom-width: 1"><font size="2"> <xsl:value-of select="Comment"/> </font></td> 
			</tr>
			</xsl:if>
			</xsl:for-each> 
			</td>
			</tr> 
		</xsl:for-each> 
	</table>
	<br> </br>
	<br> </br>
	<p></p>
	<p Align="Center"><FONT Size="2">Generiert von GrandaSoft XSDesigner (http://www.grandasoft.com)</FONT></p>
</font>
</Body>
</HTML> 
</xsl:template> 
</xsl:stylesheet> 

