This project is read-only.

XsltDb Formatting Overview

XsltDb uses formatting as it goes in String.Format .NET method. So if you familiar with .NET formatting you would easily use XsltDb formatting. XsltDb provides two different method for dates and numbers to avoid ambiguity.

mdo:fmt-date(date, format)


  • mdo:fmt-date($date, 'd') - short date form
  • mdo:fmt-date($date, 'dd.MM.yyyy') - custom date format

mdo:fmt-number(num, format)


  • mdo:fmt-number($num, 'C') - monetary format
  • mdo:fmt-number($num, '00.0000') - custom decimal format

Last edited Aug 4, 2010 at 2:42 PM by findy, version 8


No comments yet.