I tried validome.org XML DTD
<?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE entry [ <!ELEMENT entry (title, author,dayname, date, bodytext)> <!ELEMENT date (day,month,year)> <!ELEMENT title (#PCDATA)> <!ELEMENT author (PCDATA)> <!ELEMENT dayname (#PCDATA)> <!ELEMENT date (#PCDATA)> <!ELEMENT body (#PCDATA)> <!ELEMENT day (#PCDATA)> <!ELEMENT month (#PCDATA)> <!ELEMENT year (#PCDATA)> ]> <entry> <!-- This is an XML comment - just like an HTML comment. --> <!-- This file shows a simple data structure, which could be used, perhaps, for weblog entries --> <!-- The structure has a root node called "entry". In this example author information has been included as a child within the entry. In this example date information has been included as a child within the entry. In this example the date information has itself been broken down into "child" nodes for day, month and year. Some developers prefer this style --> <title>A rainy day</title> <author>Sandra</author> <dayname>Thursday</dayname> <date> <day>5</day> <month>2</month> <year>2004</year> </date> <bodytext>Today it was raining ... more ... more ... </bodytext> </entry>
From novice to tech pro — start learning today.