nitinyeola Posted August 11, 2014 Share Posted August 11, 2014 Hello, I want find difference between 2 dates in days in xslt1.0. I didn't find any in built function anywhere. Does anyone have idea on this? Please help me I am new in xslt. Thanks in Advanced. regards, Nitin Link to comment Share on other sites More sharing options...
L8V2L Posted August 11, 2014 Share Posted August 11, 2014 (edited) I more so took the time to study xslt, but not enough to write it off the back of my hand.Use a predicate in the path expression: <!--...--><value-of select="/root/[child0/@data0 gt child1/@data1]" /><!--...-->It all depend on what you want to do?XSLT is a template process. Finding the different between date's, and then what? Edited August 11, 2014 by L8V2L Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now