xsl怎样将字符串转换成日期格式(火烧眉毛!!)

比如"1991-2-9"变成1991-02-09
---------------------------------------------------------------

帮你up一下,关注
---------------------------------------------------------------

string("1991-2-9")
用node.text
直接取得的值就是string的
---------------------------------------------------------------

1<xsl:value-of select="ms:format-date(., 'MM dd, yyyy')"></xsl:value-of>
Published At
Categories with Web编程
comments powered by Disqus