<div>
<table>
	<tbody>
	<xsl:for-each select="form/input[@type='text']|form/textarea">
	<tr>
		<td><xsl:copy-of select="/form/label[@for=current()/@id]"/></td>
		<td><xsl:copy-of select="."/></td>
	</tr>
	</xsl:for-each>
	<tr>
		<td>Attributes</td><td><xsl:for-each select="form/input[starts-with(@name,'attribute')]"><xsl:copy-of select="."/>&#160;<xsl:copy-of select="/form/label[@for=current()/@name]"/><br /></xsl:for-each></td>
	</tr>
	</tbody>
</table>
</div>