Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Day from Month Function XSLT 1

Status
Not open for further replies.

markfsi

Technical User
Nov 15, 2004
3
GB
I am trying to strip the day month and year as sepereate fields in XSLT, using the following function:

<CreationDateTimeDay><month-from-date(xs:date("2005-04-23"))/></CreationDateTimeDay>

However this is not working.

Any ideas..... PLEASE !!!!

 
Try:
Code:
<CreationDateTimeDay><xsl:value-of select="month-from-date(xs:date('2005-04-23'))"/></CreationDateTimeDay>
Bear in mind that this is an XPath 2 function.

Jon

"There are 10 types of people in the world... those who understand binary and those who don't.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top