[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: embbed xml element value in a hidden form field
Please try this <input type='hidden' name='number' value='{store/number}' /> Regards, Mukul On 3/28/06, Insane User <michaelt@xxxxxxxx> wrote: > Hi, > > I'm trying to embed a XML value in my form: > > <?xml version="1.0" encoding="ISO-8859-1"?> > > <xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:ws="http://www.webserviceX.NET/" > exclude-result-prefixes="ws"> > > <xsl:template match="/"><html><body> > > <form method='post' action='[[my web service..]]>'> > > !-- the form stuff that seems to look and act good... --> > > <xsl:value-of select="store/number"/> <!-- looks great --> > > <input type='hidden' name='number' value='<xsl:value-of > select="store/number"' /> <!-- doesn't work --> > > !-- the rest of the form stuff that seems to look and act > good... --> > > </form></body></html></xsl:template></xsl:stylesheet> > > Where can I read this solution on the web? > > > Regards, > Michael
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|