1<?xml version="1.0"?>
2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3                xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"
4                exclude-result-prefixes="l"
5                version="1.0">
6
7<xsl:output method="xml"/>
8
9<xsl:template match="form">
10<xsl:for-each select="field">
11<xsl:element name="input">
12<xsl:attribute name="type">text</xsl:attribute>
13<xsl:attribute name="name"><xsl:value-of
14select="@name" /></xsl:attribute>
15<xsl:value-of select="initialvalue" />
16</xsl:element><td><input type="text" name="description"/></td>
17
18</xsl:for-each>
19</xsl:template>
20
21</xsl:stylesheet>
22