This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Computed HTML Attribute Value



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



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]