-
Form inputs with XML...
I am having the damedest time trying to figure out how to write an HTML form with XML/XSL. Anybody know how to set an input's value = a node's inner value?
ie :
...
<ITEM>
<ID>15</ID>
</ITEM>
...
<xsl:template match="ID">
<input type="hidden" name="id" value="<xsl:value-of />"/>
</xsl:template>
obviously, this method does not work. So, anybody know how I can accomplish this??
Thanks
:)
-
Nevermind, I figured it out.
For those who want to know, use the xsl:attribute tag to set the value.
:)