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

anyone can solve it

Subject: anyone can solve it
From: "Cheung Tin Po" <timothy298@xxxxxxxxxxx>
Date: Sat, 26 Apr 2003 08:37:41 +0000
xyx
hi expert,

i get an xml file like that
<record>
<row year="2000" month="1" thedata="xyx" />
<row year="2000" month="2" thedata="xyx" />
<row year="2000" month="3" thedata="xyx" />
<row year="2000" month="4" thedata="xyx" />
<row year="2000" month="5" thedata="xyx" />
<row year="2001" month="1" thedata="xyx" />
<row year="2000" month="3" thedata="xyx" />
<row year="2002" month="1" thedata="xyx" />
</record>

i want to use xsl the to trasform the output as html with the following result

2000 / 1  : xyx
      2  : xyx
      3  : xyx
2001 / 1  : xyx
      3  : xxx
...
      9  : sss
2002 / 1  : xxx
      2  : xxx


i want the year to show once only... but i really dont know hoe to do that as i dont know how to remember the value of year in the previous elements


From Timothy






_________________________________________________________________
No masks required! Use MSN Messenger to chat with friends and family. http://go.msnserver.com/HK/25382.asp



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.