• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

xml calendar

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,

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.


Thanx
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Its a good problem but XML is not necessarily a solution for it, there exist many solutions not based on xml.

BUT have you checked the project from w3c called Caltrop ? it give you an idea.
 
Balaji Loganathan
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check this as well for design concept http://www.w3.org/2001/sw/
 
Rahesh Kumar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi Balaji,
thanx for ur reply,can i get some clear solution,as it is recommended that i should do it using xml and xsls

Thanx
Rahesh
 
Balaji Loganathan
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The link i gave you is based on xml and xsl only.
If i don't have any clear or direct solution for this problem.
 
town drunk
( and author)
Posts: 4118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Rahesh,

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?

Thanks,
M
 
Rahesh Kumar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Leverager of our synergies
Posts: 10065
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi 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?
 
Rahesh Kumar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Mapraputa Is
Leverager of our synergies
Posts: 10065
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
And tomorrow is the circus! We can go to the circus! I love the circus! We can take this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic