Subject: Re: [xsl] embbed xml element value in a hidden form field From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx> Date: Tue, 28 Mar 2006 09:29:30 +0530 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] embbed xml element value in a, Insane User | Thread | [xsl] combining node restrictions i, Andrew Smith |
RE: [xsl] Confusion about xsl:param, Michael Kay | Date | [xsl] combining node restrictions i, Andrew Smith |
Month |