This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
This is my problem,I am not provided with any xml.The final aim is, xml should have my contents for calendar and the calendar should have four views,daily,weekly,monthly and yearly,these views should be in different xsls.when user clicks on daily view,the xml and the corresponding xsls should be dyanamically matched,similar for other views.My problem is how the xml should be framed and the xsls,can anyone suggest me regarding this.
A couple of questions, so we can focus our answer a little bit better. Have you used XML and/or xslt in the past? Is this a school assignment, so you have to do it this way, or is a work project, where you're just looking at different paths? How familiar are you with Java in general?
Hi Balaji and Max, Thanx for ypur replies yaar,i said i couldnt understand it clearly,ya Max its part of my project work yaar,thats why i am sticking to xml and xsls as i am new to these java technologies.Sorry,if i have posted wrongly yaar. Thanx Rahesh
What kind of data is your calendar expected to show (besides perhaps day of week)? Data for how many years will be stored? Can we assume that your "view" program will somehow receive a parameter from a user with the exact date for "daily" and "weekly" views, and with a month/year for the other two views?
HI, Thanx for ur reply. whenever an user logs in,he will be shown the entire months display in the side,with the options provided to view it daily,weekly and annually,this is an application to show the schedule he has for the corresponding views.so whenever the user clicks on that particular date,he is to be shown the schedule for that perticular date,and correspondingly for his weekly and annually and monthly views(so we are getting input from the user for these u r right).hope this explains my problem exactly, Expecting your reply Thanx in advance Rahesh
Leverager of our synergies
Joined: Aug 26, 2000
Hi Rahesh, Not sure what exactly your "schedule" information is, but your XML could be like this:
In your XSLT you declare parameters:
and then iterate through you information using these parameters: For example:
Hope this helps. [ October 01, 2004: Message edited by: Mapraputa Is ]