calculate age

Help
gungy
2012-05-22
2012-10-08
  • gungy

    gungy - 2012-05-22

    hi,

    could someone please show me how to calculate the age from element <dob>YYYY-
    MM-DD</dob> using xslt 1.0 ?

     
  • Ivan Latysh

    Ivan Latysh - 2012-05-22

    I believe it is not possible without calling an external function.

     
  • Michael Kay

    Michael Kay - 2012-05-22

    This forum isn't really the place for XSLT coding questions. It's certainly
    not the place for XSLT 1.0 questions since most of us have been using XSLT 2.0
    for the last 8 years or so and have forgotten most of what we ever knew about
    1.0. I suggest you ask on StackOverflow.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks