Subject: Re: How to embed xsl:value-of into html tag From: Gary L Peskin <garyp@xxxxxxxxxxxx> Date: Thu, 24 Aug 2000 17:58:58 -0700 |
<input type="text" name="productName" value="{.}" size="25" maxlength="30" /> Joan Shu wrote: > > Hi, > > I can't get this working. value of the input field will be <xsl:value-of > select="."> > instead of the real name -- XML Bible. I guess XSLT will not transform any > XSL statement inside > a html tag. > > Any workaround will be really appreciated. Thanks, > Joan > > =============xsl code================= > <xsl:template match="productName"> > > <input type="text" name="productName" value='<xsl:value-of > select="."/>' size="25" maxlength="30" /> > > </xsl:template> > > =============xml code================ > <?xml version="1.0"?> > > <productName> XML Bible </productName> > > =============output============== > <input type="text" name="productName" value='<xsl:value-of select="."/>' > size ="25" maxlength="30" /> > > ==========what I want============== > <input type="text" name="productName" value='XML Bible' size ="25" > maxlength="30" /> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: How to embed xsl:value-of into , Evan Lenz | Thread | Re: How to embed xsl:value-of into , Russ Holmes |
RE: How to embed xsl:value-of into , Evan Lenz | Date | FWD: Re: using xsl:number, admin |
Month |