From: Ed A. <ed...@me...> - 2005-05-30 08:51:29
|
On Mon, 30 May 2005, Daniel Hall wrote: >here are the new elements we've added to the original >XMLTV DTD. ><!-- 'Ice XML Version' - (added by Ice TV) A version number indicating which >XML format is being used. (the XML file may also include a different DTD) >--> ><!ELEMENT ice-xml-version (#PCDATA)> I think you should indicate in the doctype declaration at the top which version of the file format is being used - each version will have a different DTD, right? >======================== >New "channel" elements: region_name, service_id, transport-stream-id, >original-network-id >======================== > ><!ELEMENT channel (display-name+, icon*, url*, region-name*, service-id*, >transport-stream-id*, original-network-id*) > > ><!-- region-name - (added by Ice TV) A user-friendly name for the location >of the channel, such as "Sydney" or "Melbourne". --> ><!ELEMENT region-name (#PCDATA)> Seems sensible enough - we could add this to the main xmltv.dtd if you like. If this is human-readable text then to fit in with the rest of xmltv it should be something like <!ELEMENT region-name (#PCDATA)> <!ATTLIST region-name lang CDATA #IMPLIED> (FWIW, in Belgium for example I can see it being useful to give the name of a region in two different languages.) ><!-- service-id - (added by Ice TV) --> ><!ELEMENT service-id (#PCDATA)> > ><!-- transport-stream-id - (added by Ice TV) --> ><!ELEMENT transport-stream-id (#PCDATA)> > ><!-- original-network-id - (added by Ice TV) --> ><!ELEMENT original-network-id (#PCDATA)> Can you explain what these mean? Perhaps it would work as well to have some single 'transmission-details' element storing a string whose meaning is application-defined. >======================== >New "video" element: quality >======================== > ><!ELEMENT video (present?, colour?, aspect?, quality?)> > ><!-- quality: (added by Ice TV) 'HDTV' for High Definition. --> ><!ELEMENT quality (#PCDATA)> Hmm, and is there an explicit value to say 'not HDTV'? -- Ed Avis <ed...@me...> |