posted 18 years ago
How to assign a value from xml to a text field in xsl ??
<LensSelector>
<Astigmatism>
<Question>Do you have Astigmatism </Question>
<Yes>ABCD</Yes>
<No>EFGH</No>
</Astigmatism>
</LensSelector>
--------------------------------------------------------------------------
None of the below works :
<input type="text" name="question" size="100" value="<xsl:value-of select='Question'/>">
<input type="text" name="question1" size="100">
<xsl:attribute name="value"> <value-of select="Question"/></xsl:attribute>
</input>
Please help me