|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
||||
|
||||
|
Newbie biting of more than he can chew...
Ok, I have an XML file of a TV schedule. That has no problems. However, its the freakin XSL file that's driving me mad. I want it to print out the schedule in a nice table format. I have a few variables (I think 2). One if time of week, which just prints out whethers its weekday, saturday, or sunday. The other thing is whether the show is in an AM or PM time slot.
The other problem I have is it either just prints out 1 block (I want it to keep printing out the entire XML file until there isn't anything else. And, well, then theres the problem with the link thing I'm trying to make. Here, you guys look at it... |
|
#2
|
||||
|
||||
|
Thnaks! That's awesome. My only question is how to make it do all the show and times in a block.
For example, I have all this as a block: Code:
<block type="Other" when="weekday"> <time tod="AM">7:00</time> <show>Hamtaro</show> <link src="http://www.cartoonnetwork.com/watch/tv_shows/hamtaro/" /> <time tod="AM">9:00</time> <show>Pokemon</show> <link>http://www.cartoonnetwork.com/watch/tv_shows/pokemon/</link> <time tod="PM">2:00</time> <show>Hamtaro</show> <link>http://www.cartoonnetwork.com/watch/tv_shows/hamtaro/</link> <time tod="PM">9:00</time> <show>Pokemon</show> <link>http://www.cartoonnetwork.com/watch/tv_shows/pokemon/</link> </block> However, it only displays the first section (the 1st Hamtaro). I want it to go through all the shows in that block. |
|
#3
|
||||
|
||||
|
That works perfectly! Thanks a lot!!
![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > Newbie biting of more than he can chew... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|