How do I use a script function on value-of select?
Hi, I'm trying to get a script function to format the value-of select tag, but I haven't been able to find anything on the net or elsewhere that explains what I'm trying to do. This is a snippet of what I'm trying to do, but I can't figure out how to do it: <xsl:eval>formatDate1(<xsl:value-of select="invoicedate" />)</xsl:eval> <xsl:script language="VBScript"> <![CDATA[ function formatDate1(idate) formatDate1 = formatDateTime(idate, vbshortdate) end function ]]> </xsl:script> Any help would be appreciated! Thanks, Erick __________________________________________________ Do You Yahoo!? >From homework help to love advice, Yahoo! Experts has your answer. http://experts.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
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