Subject: Re: [xsl] Computed HTML Attribute Value From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 1 Feb 2001 14:45:19 GMT |
Oops, You also have to take out the () after "text". This tests OK: <xsl:element name="input"> <xsl:attribute name="type">text</xsl:attribute> <xsl:attribute name="name">new_delay_hr</xsl:attribute> <xsl:attribute name="value"> <!-- <script language="JavaScript"> --> <xsl:value-of select="delayed-start-time/text div 3600"/> <!-- </script> --> </xsl:attribute> <xsl:attribute name="size">2</xsl:attribute> </xsl:element> Rick suiter or more equivalently the shorter form using literal result elements and AVT rather than xsl:element: <input type="text" name="new_delay_hr" value="{delayed-start-time/text div 360}" size="2"/> David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Computed HTML Attribute V, RSuiter | Thread | Re: [xsl] showing unique element va, Jeni Tennison |
RE: [xsl] Can sets have order?, Dimitre Novatchev | Date | RE: [xsl] XML data to MS-Excel??, Robert C. Lyons |
Month |