Lets say I have a movie playing on 06012006 at many times in the day, and again on 08012006 for several more times, in fact this goes on across many many days. I need to have an output like this:
The Big Show
06012006 : 0500, 0600, 0700
08012006 : 0500, 0600, 0700
Not like this, which I seem to be able to do already:
The Big Show
06012006 : 0500
06012006 : 0600
06012006 : 0700
08012006 : 0500
08012006 : 0600
08012006 : 0700
This is what my XML looks like. How to I make that happen in my XSL sheet? Thanks for the help, I don't understand this XSL stuff very well!!
<showtimes>
<id>my theater</id>
<film>
<name>The Big Show</name>
<show>
<date>0601200 6</date>
<time>0500</time>
</show>
<show>
<date>0601200 6</date>
<time>0600</time>
</show>
<show>
<date>0601200 6</date>
<time>0700</time>
</show>
<show>
<date>0801200 6</date>
<time>0500</time>
</show>
<show>
<date>0801200 6</date>
<time>0600</time>
</show>
<show>
<date>0801200 6</date>
<time>0700</time>
</show>
</film>
</showtimes>
The Big Show
06012006 : 0500, 0600, 0700
08012006 : 0500, 0600, 0700
Not like this, which I seem to be able to do already:
The Big Show
06012006 : 0500
06012006 : 0600
06012006 : 0700
08012006 : 0500
08012006 : 0600
08012006 : 0700
This is what my XML looks like. How to I make that happen in my XSL sheet? Thanks for the help, I don't understand this XSL stuff very well!!
<showtimes>
<id>my theater</id>
<film>
<name>The Big Show</name>
<show>
<date>0601200 6</date>
<time>0500</time>
</show>
<show>
<date>0601200 6</date>
<time>0600</time>
</show>
<show>
<date>0601200 6</date>
<time>0700</time>
</show>
<show>
<date>0801200 6</date>
<time>0500</time>
</show>
<show>
<date>0801200 6</date>
<time>0600</time>
</show>
<show>
<date>0801200 6</date>
<time>0700</time>
</show>
</film>
</showtimes>
Comment