Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] stylesheet for generating html table and aditionally paste calendar data

From: Dimitre Novatchev <dnovatchev@--------->
To:
Date: 10/2/2005 9:16:00 PM
You might be interested to look at this XSLT Calendar application:

    http://www.topxml.com/code/default.asp?p=3&id=v20020711152545

Cheers,
Dimitre Novatchev

On 9/29/05, Lars Reimann <mail@xxxxxxxxxxxxxxx> wrote:
> hi,
>
> i already looked up the given addresses but i dindt find anything that
> matched my problem. and since i m new to xslt here's my (i think simple)
> question:
>
> i have some xml calendar data like this:
>
> <schedule>
>  <month n="1">
>    <day n="1">
>      <date time="1500">
>         <event>call susi</event>
>      </date>
>   </day
>  </month>
> </schedule>
>
> ... and so on. (all events formated like this)
>
> now i want to generate a big html table first wich contains all days of
> the year with the name of the moths as table captions. like this:
>
> | jan | feb| mar| apr| ... | dec|
> ----------------------------
>  1      1     1     1    ...    1
>  ...     ...    ...     ...   ...   ...
> 31    28   31    30   ...   31
>
> (table completely filled). I dont know how to do that. Because, if there
> are only 5 events per moth, the table nevertheless needs to be filled
> with all numbers of the days.
>
> I thought it would be stupid to create this table manually in the
> stylesheet!
>
> the events should then be pasted behind a specific day accoring to the
> .xml source. the second prob ist how can i insert the event at the
> specific place in the table?
>
> sorry 'bout the simple questions but i am new to xslt...
>
> thanks in advance,
> l.r.
>
>


--
Cheers,
Dimitre Novatchev
---------------------------------------
Getting caught is the mother of invention.


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent