DTD Tree structure of RDF 0.9 DTD generated using Matra 0.8b
DTD Name: RDF DTD.
DTD Location: http://my.netscape.com/publish/formats/rss-0.9.dtd [cached copy]
DTD Issue Date: November 09, 2001
DTD Version: 0.9
rdf:RDF (xmlns:rdf=="http://www.w3.org/1999/02/22-rdf-syntax-ns#", xmlns) | |- channel | | | |- title | | | |- description | | | +- link | |- image? | | | |- title | | | |- url | | | +- link | |- item+ | | | |- title | | | +- link | +- textinput? | |- title | |- description | |- name | +- link Tree representation of the RDF 0.9 DTD - generated using Matra 0.8b (http://matra.sourceforge.net/)
How to read the above tree?The head of the tree represents a potential root element. For the above tree it is
rdf:RDF (xmlns:rdf=="http://www.w3.org/1999/02/22-rdf-syntax-ns#", xmlns)
rdf:RDF. Element type contains two attributes - as indicated by the content within parenthesis.
xmlns:rdf - This attribute has a
fixedvalue of "http://www.w3.org/1999/02/22-rdf-syntax-ns#".
xmlns - This is a
requiredattribute with no default value specified.
rdf:RDF.Element type has four child element types.
rdf:RDF (xmlns:rdf=="http://www.w3.org/1999/02/22-rdf-syntax-ns#", xmlns) | |- channel | |- image? | |- item+ | +- textinput?It has a mandatory
channelelement, an optional
imageelement, one or more
itemelements and finally an optional
channel element has no attributes, but has three mandatory elements under it.
channel | |- title | |- description | +- linkThe rest of the tree can be similarly read.
About RSS 0.9
(from the dtd documentation)
RDF Site Summary (RSS) 0.9 official DTD, proposed.
RSS is an XML/RDF vocabulary for describing metadata about websites, and enabling the display of "channels" on the "My Netscape" website.
RSS Info can be found at http://my.netscape.com/publish/
XML Info can be found at http://www.w3.org/XML/
RDF Info can be found at http://www.w3.org/RDF/
copyright Netscape Communications, 1999
Dan Libby - danda at netscape.com
Based on RSS DTD originally created by Lars Marius Garshol - larsga at ifi.uio.no.