Hi there,
I am pretty new to XML and XSLT concepts. I am working on a project which uses a XML file to retrieve values and display them. The concept of XML file is like,
Now, as you see i have seperated the date variables as day, month and year. Because, i have asked to prepare 3 pages like
1.customers who visited today.
2.customers who visited this week.
3.customer who visited within this year.
my instincts says i need to get the date of this day and compare with dd.mm.yy and if it checks i have to display the values etc..:)
so, is there any way to achive it? If yes, then how?
Thanks in advance
I am pretty new to XML and XSLT concepts. I am working on a project which uses a XML file to retrieve values and display them. The concept of XML file is like,
Code:
<root> <customer>[INDENT] <id></id> <name></name> <number></number> <day></day> <month></month> <year></year>[/INDENT] </customer> </root> <!-- Editor’s note: the <customer> tags don’t make sense this way, but I left the code as it is --> <!-- Ceviz: corrected the mistypnig -->
1.customers who visited today.
2.customers who visited this week.
3.customer who visited within this year.
my instincts says i need to get the date of this day and compare with dd.mm.yy and if it checks i have to display the values etc..:)
so, is there any way to achive it? If yes, then how?
Thanks in advance
Comment