[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: A Calendar Project...

Subject: Re: Re: A Calendar Project...
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Mon, 16 Jun 2003 06:53:39 +0200
datetime_lib.xsl
You can download (AFAIK) the trial version. The datetime_lib.xsl is just one
file. I am not aware about any conditions on using just datetime_lib.xsl, it
would be correct to ask the XSelerator support for this.

Anyway, you just wanted an example.


=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL

"Karl Stubsjoen" <karl@xxxxxxxxxxxxx> wrote in message
news:001301c3331d$e39ad870$71d76844@xxxxxxx
> So do I need to download xselerator?  If so, is this something that I
would
> also need to add to my server box (currently, developing calendar app at
> home).
> Karl
>
> ----- Original Message -----
> From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Sunday, June 15, 2003 1:51 PM
> Subject:  Re: A Calendar Project...
>
>
> > See: "A Calendar, using the XSelerator's datetime library",
> > http://www.topxml.com/code/default.asp?p=3&id=v20020711152545
> >
> > In addition to your requirements this XSLT app supports two display
> formats
> > for a week (with Sun starting the week and with Mon starting the week)
and
> > also hilighting holidays and events from an external xml file.
> >
> >
> > Hope this helped.
> >
> >
> >
> > =====
> > Cheers,
> >
> > Dimitre Novatchev.
> > http://fxsl.sourceforge.net/ -- the home of FXSL
> >
> >
> > "Karl Stubsjoen" <karl@xxxxxxxxxxxxx> wrote in message
> > news:003401c33308$20ee7800$71d76844@xxxxxxx
> > > Hello,
> > > I'm embarking on a calendar project... from the ground up.  So, I have
> the
> > > luxuray of putting it together any way I like : )
> > > I'm trying to determine the best XML data structure to suit XSLT
> > processing.
> > >
> > > Thinking in terms of the XSLT processor:
> > >     1)  I need to be able to create standard 7 day week wide calendar
by
> > > 30/31 day month view
> > >     2)  I need to be able to create a week view in a vertical and
> > horizontal
> > > display format
> > >     3) As well an assortment of calendar views...
> > >
> > > With item # 1 above, the challenge is to create 7 TD's then a new
TR...
> 7
> > > TD's a new TR and so on...
> > > The challenge in general is the grouping of different calendar parts,
> and
> > > the discovery of first day of week, etc...
> > >
> > > Has anyone else done such a project?
> > > I will be building my XML data source from ASP, so I will script it on
> the
> > > fly in a suitable structure to be processed by XSLT.  I guess my real
> > > question is:  what would be a good XML structure for XSLT processing
of
> a
> > > calendar?
> > >
> > > Here is a couple of ideas I had (very prelimary):
> > >
> > > <CAL D="2003-06-04">
> > >  <DATE D="2003-05-29" DOW="1" WK="100"/>
> > >  <DATE D="2003-05-30" DOW="2" WK="100"/>
> > >  <DATE D="2003-05-31" DOW="3" WK="100"/>
> > >  <DATE D="2003-06-01" DOW="4" WK="100"/>
> > >  <DATE D="2003-06-02" DOW="5" WK="100"/>
> > >  <DATE D="2003-06-03" DOW="6" WK="100"/>
> > >  <DATE D="2003-06-04" DOW="7" WK="100"/>
> > >     <DATE D="2003-06-05" DOW="1" WK="101"/>
> > > ....
> > > </CAL>
> > >
> > > Where CAL/@D is the current date (not necessarily todays date but the
> > > selected date)
> > > Where CAL/DATE/@DOW is the day-of-week (sunday..monday..tuesday.. ..)
> > > Where CAL/DATE/@WK is the week of the year
> > >
> > > Here is another format:
> > > <CAL D="2003-06-04">
> > >  <WEEK W="100">
> > >      <DATE D="2003-05-29" DOW="1" />
> > >      <DATE D="2003-05-30" DOW="2" />
> > >      <DATE D="2003-05-31" DOW="3" />
> > >      <DATE D="2003-06-01" DOW="4" />
> > >      <DATE D="2003-06-02" DOW="5" />
> > >      <DATE D="2003-06-03" DOW="6" />
> > >      <DATE D="2003-06-04" DOW="7" />
> > >   </WEEK>
> > >   <WEEK W="101">
> > >     <DATE D="2003-06-05" DOW="1">
> > >     ...
> > > </CAL>
> > >
> > >
> > > Again, the challeng (that I see) is grouping calendar dates into the
> > > different calendar views we are use to seeing.
> > > I've built a calendar before using ASP and recall the struggle I had
of
> > > discovering first day of the month... what week day the first day of
> month
> > > fell on... I recall the "skipping" of non-current month dates, and so
> > on...
> > >
> > > Any ideas would be appreciated!  I'm working on this all day today.
Oh,
> > and
> > > if anyone is interested in collaboriting on this project, let me know.
> > >
> > > Karl
> > >
> > >
> > >  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> > >
> > >
> >
> >
> >
> >
> >  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> >
> >
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.