Re: [xsl] Show YEAR once if the YEAR same as preious element by xsl

Subject: Re: [xsl] Show YEAR once if the YEAR same as preious element by xsl
From: Nathaniel Brett Stoddard <nstoddar@xxxxxxxxx>
Date: Sat, 26 Apr 2003 21:08:54 -0700 (PDT)
Hey,

I guess this is in response to my proposed solution for your problem.  You should check out the
webpage that the other person (worry for no name, already deleted the email) gave you as a
response.  The grouping solution explained on the webpage is way better than mine ;)

Nathaniel Stoddard

--- Cheung Tin Po <timothy298@xxxxxxxxxxx> wrote:
> hi expert,
> 
> i get the following XML file
> 
> <record>
> <row year="2001" month="1">
> <row year="2001" month="2">
> <row year="2001" month="3">
> <row year="2001" month="4">
> <row year="2002" month="1">
> <row year="2002" month="2">
> <row year="2002" month="3">
> <row year="2003" month="1">
> <row year="2003" month="2">
> </record>
> 
> i want to transform it to html with the following result
> 
> 2001/1
>      2
>      3
>      4
> 2002/1
>      2
>      3
> 2003/1
>      2
> 
> 
> as XSLT cannot store the variable  so i cannot think any method to should 
> the result.
> 
> :<
> 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
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

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


Current Thread