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

Break on first - question

Subject: Break on first - question
From: dhopp@xxxxxxxx
Date: Mon, 6 Jan 2003 08:25:24 -0500
dhopp
I need to write the xsl to produce html for the following:

I have an xml file that is a calendar of events.  A typical event is

<EVENT recordID="DIA-00000" organizerID="DIA" updated="2002-12-21">
            <title>Clinical Research Associate Training</title>
            <longTitle>this is the long title</longTitle>
            <description>Introductory Clinical Research Associate
training</description>
            <agendaURL>http://www.agenda.com/</agendaURL>
            <programURL>http://www.diahome.org/</programURL>
            <venue>
                  <eventDate>

<startDate><year>2003</year><month>01</month><day>25</day></startDate>

<endDate><year>2003</year><month>01</month><day>26</day></endDate>
                  </eventDate>
                  <status>Cancelled</status>
                  <geographical>
                        <location>
                              <city>Arlington</city>
                              <state>VA</state>
                              <country>USA</country>
                        </location>
                        <continent>North America</continent>
                  </geographical>
            </venue>
</EVENT>

Note: Since this is my calendar, I can write the startDate and endDate as
xsl:date (<startDate>2003-01-25</startDate>), and in fact would prefer to.

I have many EVENT records and need to sort them (I can do the sort just
fine) by date and title, and then produce HTML that breaks on each new
month (or year) so I can insert some formatting etc..  So it's a grouping
issue.  How in the world do I do it?  Whatever I try gives me some success
(=complete failure) but I can't get every new month to behave itself.




 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.