On Sat, Nov 29, 2003 at 12:00:59PM +0000, Ed Avis wrote:
> >It should be possible to have two <value> entries,
>
> Check the DTD:
> <!ELEMENT star-rating (value, icon*)>
>
> Only one <value> element is allowed - and earlier in the DTD you see
> that at most one <star-rating> is allowed inside <programme>. The new
> DTD does allow multiple star-ratings.
You're right, I didn't check the DTD (although looking through it is on my
agenda, for a tivo-related project that I'm starting) -- I was merely
hypothesizing that logically it would be acceptable for more than one
star-rating to exist (perhaps even marked with a source attribute, e.g.
<star-rating>
<value source="zap2it">2/4</value>
<value source="imdb">6.3/10</value>
<star-rating>
This would allow the user of the data to have maximum information available
for choosing which value(s) to use.
How often does the DTD change? Is it mutable as part of the XMLTV code?
--
"Sentiment without action is the ruin of the soul." - Edward Abbey
. . . . .
Karen Etheridge, karen@xxxxxxxxxxxx GCS C+++$ USL+++$ P++ w--- M++$
http://etheridge.ca/ PS++ PE-- b++ DI++++ e++ h(-)
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
|