Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help in XSL

 
Md Fizal
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have an input XML file in which a node has an attribute value like "20020412", which is nothing but a date.(Century+Year+Month+Day) I have an XSL file to fetch the contents from the XML file and present it. The problem is that, how to get the attribute value like "20020412" and print it like "04/12/2002" format. Is there any function available in XSL? Please help me...
 
Tong Chen
Ranch Hand
Posts: 1011
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. There is a XSLT function you can use:
format-number().
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic