|
-
Oct 6th, 2001, 10:25 AM
#1
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
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Oct 6th, 2001, 12:58 PM
#2
Nevermind, I figured it out.
For those who want to know, use the xsl:attribute tag to set the value.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|