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

stylesheet for generating html table and aditionally

Subject: stylesheet for generating html table and aditionally paste calendar data
From: Lars Reimann <mail@xxxxxxxxxxxxxxx>
Date: Thu, 29 Sep 2005 12:14:01 +0200
lars reimann

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:

 <month n="1">
   <day n="1">
     <date time="1500">
        <event>call susi</event>

... 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,

Current Thread


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.
First Name
Last Name
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.