Digital Item Declaration Language
From Wikipedia, the free encyclopedia
Digital Item Declaration Language (DIDL) is an XML dialect standardized in MPEG-21. It is used by devices implementing the Universal Plug and Play (UPnP) AV standard.
[edit] Example
The following example was generated by the TwonkyVision music server, and describes the top-level directory of multimedia available from that server.
<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"> <container id="4" parentID="0" childCount="42" restricted="1" searchable="1"> <dc:title>Albums</dc:title> <upnp:class>object.container.musicContainer</upnp:class> </container> <container id="5" parentID="0" childCount="2070" restricted="1" searchable="1"> <dc:title>All Tracks</dc:title> <upnp:class>object.container.musicContainer</upnp:class> </container> <container id="3" parentID="0" childCount="30" restricted="1" searchable="1"> <dc:title>Artists</dc:title> <upnp:class>object.container.musicContainer</upnp:class> </container> <container id="6" parentID="0" childCount="91" restricted="1" searchable="1"> <dc:title>Folders</dc:title> <upnp:class>object.container.musicContainer</upnp:class> </container> <container id="2" parentID="0" childCount="13" restricted="1" searchable="1"> <dc:title>Genres</dc:title> <upnp:class>object.container.musicContainer</upnp:class> </container> <container id="7" parentID="0" childCount="19" restricted="1" searchable="1"> <dc:title>Internet Radio</dc:title> <upnp:class>object.container.musicContainer</upnp:class> </container> <container id="1" parentID="0" childCount="1" restricted="1" searchable="1"> <dc:title>Playlists</dc:title> <upnp:class>object.container.playlistContainer</upnp:class> </container> </DIDL-Lite>