Cecil Westerhof
Usenet Archive
- Joined
- Apr 14, 2004
- Messages
- 35
- Reaction score
- 0
I have the following code in a xslt-file:
<xsl:template match="outputfield">
<xsl:for-each select='.'>
<tr>
<td class = "inputDescription"><xsl:value-of select='.' />:</td> <td><input class = "content" id = "{@id}" /></td> </tr> </xsl:for-each> </xsl:template>
I would like to have:
<xsl:template match="outputfield">
<xsl:for-each select='.'>
<tr>
<td class = "inputDescription"><xsl:value-of select='.' />:</td> <td><input readonly class = "content" id = "{@id}" /></td> </tr> </xsl:for-each> </xsl:template>
To make the input readonly. But with this change the processor crashes. How can this be done?
<xsl:template match="outputfield">
<xsl:for-each select='.'>
<tr>
<td class = "inputDescription"><xsl:value-of select='.' />:</td> <td><input class = "content" id = "{@id}" /></td> </tr> </xsl:for-each> </xsl:template>
I would like to have:
<xsl:template match="outputfield">
<xsl:for-each select='.'>
<tr>
<td class = "inputDescription"><xsl:value-of select='.' />:</td> <td><input readonly class = "content" id = "{@id}" /></td> </tr> </xsl:for-each> </xsl:template>
To make the input readonly. But with this change the processor crashes. How can this be done?