<?xml version="1.0" encoding="utf-8"?>
<news>
	<eligbleviewers id="eligbl1" newstosee="3">
		<newsitem id="46184132387" hide="0">
			<date>July  23, 2005</date>
			<title>Introduction to DTD</title>
			<aff_link>&lt;a href="http://6afe4oq54mza1u7z5k--1p7u9t.hop.clickbank.net/" style="font-family:arial;font-size:14px;text-decoration:underline;color:#006699;" target="_top"&gt;Keyword Elite 2.0: The New Generation Of Keyword Research Software!&lt;/a&gt;</aff_link>
			<abstract>Document Type Definition (DTD) is a set of markup declarations that define a document type for SGML-family markup languages (SGML, XML, HTML). DTDs were a precursor to XML schema and have a similar function, although different capabilities.
DTDs use a terse formal syntax that declares precisely which elements and references may appear where in the document of the particular type, and what the elements’ contents and attributes are. DTDs also declare entities which may be used in the instance document.
XML uses a subset of SGML DTD.
As of 2009 newer XML Namespace-aware schema languages (such as W3C XML Schema and ISO RELAX NG) have largely superseded DTDs. A namespace-aware version of DTDs is being developed as Part 9 of ISO DSDL. DTDs persist in applications which need special publishing characters such as the XML and HTML Character Entity References, which were derived from the larger sets defined as part of the ISO SGML standard effort.</abstract>
			<description>&lt;P&gt;The purpose of a Document Type Definition is to define the legal 
	building blocks of an XML document. It defines the document structure with a 
	list of legal elements.&lt;/P&gt;
&lt;P&gt;A DTD can be declared inline in your XML document, or as an 
	external reference.&lt;/P&gt;
&lt;HR&gt;
&lt;H3&gt;Internal DOCTYPE declaration&lt;/H3&gt;
&lt;P&gt;If the DTD is included in your XML source file, it should be wrapped in a 
	DOCTYPE definition with the following syntax:&lt;/P&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0" ID="Table1"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;&amp;lt;!DOCTYPE root-element [element-declarations]&amp;gt;&lt;/PRE&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
	
&lt;/TABLE&gt;
&lt;P&gt;Example XML document with a DTD: (&lt;A href="http://www.w3schools.com/dtd/note_in_dtd.xml" target="_blank"&gt;Open it 
		in IE5&lt;/A&gt;, and select view source):&lt;/P&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0" ID="Table2"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;!DOCTYPE note [
  &amp;lt;!ELEMENT note (to,from,heading,body)&amp;gt;
  &amp;lt;!ELEMENT to      (#PCDATA)&amp;gt;
  &amp;lt;!ELEMENT from    (#PCDATA)&amp;gt;
  &amp;lt;!ELEMENT heading (#PCDATA)&amp;gt;
  &amp;lt;!ELEMENT body    (#PCDATA)&amp;gt;
]&amp;gt;
&amp;lt;note&amp;gt;
  &amp;lt;to&amp;gt;Tove&amp;lt;/to&amp;gt;
  &amp;lt;from&amp;gt;Jani&amp;lt;/from&amp;gt;
  &amp;lt;heading&amp;gt;Reminder&amp;lt;/heading&amp;gt;
  &amp;lt;body&amp;gt;Don't forget me this weekend&amp;lt;/body&amp;gt;
&amp;lt;/note&amp;gt;&lt;/PRE&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
	
&lt;/TABLE&gt;
&lt;BR&gt;
The DTD above is interpreted like this:&lt;BR&gt;
&lt;B&gt;
	&lt;BR&gt;
	!DOCTYPE note&lt;/B&gt; (in line 2) defines that this is a document of the type &lt;B&gt;note.&lt;BR&gt;
&lt;/B&gt;&lt;B&gt;!ELEMENT note&lt;/B&gt; (in line 3) defines the &lt;B&gt;note&lt;/B&gt; element as having 
four elements: "to,from,heading,body".&lt;BR&gt;
&lt;B&gt;!ELEMENT to&lt;/B&gt; (in line 4) defines the &lt;B&gt;to&lt;/B&gt; element to be of the type 
"#PCDATA".&lt;BR&gt;
&lt;B&gt;!ELEMENT from&lt;/B&gt; (in line 5) defines the &lt;B&gt;from&lt;/B&gt; element to be of the 
type "#PCDATA"&lt;BR&gt;
and so on.....
&lt;HR&gt;
&lt;H3&gt;External DOCTYPE declaration&lt;/H3&gt;
&lt;P&gt;If the DTD is external to your XML source file, it should be wrapped in a 
	DOCTYPE definition with the following syntax:&lt;/P&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0" ID="Table3"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;&amp;lt;!DOCTYPE root-element SYSTEM "filename"&amp;gt;&lt;/PRE&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
	&lt;/TABLE&gt;
&lt;P&gt;This is the same XML document as above, but with an external DTD: (&lt;A href="http://www.w3schools.com/dtd/note_ex_dtd.xml" target="_blank"&gt;Open 
		it in IE5&lt;/A&gt;, and select view source)&lt;/P&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0" ID="Table4"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;!DOCTYPE note SYSTEM "note.dtd"&amp;gt;
&amp;lt;note&amp;gt;
&amp;lt;to&amp;gt;Tove&amp;lt;/to&amp;gt;
&amp;lt;from&amp;gt;Jani&amp;lt;/from&amp;gt;
&amp;lt;heading&amp;gt;Reminder&amp;lt;/heading&amp;gt;
&amp;lt;body&amp;gt;Don't forget me this weekend!&amp;lt;/body&amp;gt;
&amp;lt;/note&amp;gt; &lt;/PRE&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
	
&lt;/TABLE&gt;
&lt;P&gt;And this is a copy of the file "note.dtd" containing the DTD:&lt;/P&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0" ID="Table5"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;&amp;lt;!ELEMENT note (to,from,heading,body)&amp;gt;
&amp;lt;!ELEMENT to (#PCDATA)&amp;gt;
&amp;lt;!ELEMENT from (#PCDATA)&amp;gt;
&amp;lt;!ELEMENT heading (#PCDATA)&amp;gt;
&amp;lt;!ELEMENT body (#PCDATA)&amp;gt;&lt;/PRE&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
	
&lt;/TABLE&gt;
&lt;BR&gt;
&lt;HR&gt;
&lt;H3&gt;Why use a DTD?
&lt;/H3&gt;
&lt;P&gt;With DTD, each of your XML files can carry a description of its own format with 
	it.
&lt;/P&gt;
&lt;P&gt;With a DTD, independent groups of people can agree to use a common DTD for 
	interchanging data.
&lt;/P&gt;
&lt;P&gt;Your application can use a standard DTD to verify that the data you receive from 
	the outside world is valid.
&lt;/P&gt;
&lt;P&gt;You can also use a DTD to verify your own data.
&lt;/P&gt;</description>
		</newsitem>
		<newsitem id="350116966" hide="0">
			<date>July  23, 2005</date>
			<title>DTD - XML building blocks</title>
			<description>&lt;P&gt;The main building blocks of both XML and HTML documents are tags like 
	&amp;lt;body&amp;gt;....&amp;lt;/body&amp;gt;.&lt;/P&gt;
&lt;HR&gt;
&lt;H3&gt;The building blocks of XML documents&lt;/H3&gt;
&lt;P&gt;Seen from a DTD point of view, all XML documents (and HTML documents) are made 
	up by the following simple building blocks:&lt;/P&gt;
&lt;UL type="square"&gt;
	&lt;LI&gt;
	Elements
	&lt;LI&gt;
	Tags
	&lt;LI&gt;
	Attributes
	&lt;LI&gt;
	Entities
	&lt;LI&gt;
	PCDATA
	&lt;LI&gt;
		CDATA
	&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The following is a brief explanation of each of the building blocks:&lt;/P&gt;
&lt;HR&gt;
&lt;H3&gt;Elements&lt;/H3&gt;
&lt;P&gt;Elements are the &lt;B&gt;main building blocks&lt;/B&gt; of both XML and HTML documents.&lt;/P&gt;
&lt;P&gt;Examples of HTML elements are "body" and "table". Examples of XML elements could 
	be "note" and "message". Elements can contain text, other elements, or be 
	empty. Examples of empty HTML elements are "hr", "br" and "img".&lt;/P&gt;
&lt;HR&gt;
&lt;H3&gt;Tags&lt;/H3&gt;
&lt;P&gt;Tags are used &lt;B&gt;to markup elements&lt;/B&gt;.&lt;/P&gt;
&lt;P&gt;A starting tag like &amp;lt;element_name&amp;gt; marks up the beginning of an element, 
	and an ending tag like &amp;lt;/element_name&amp;gt; marks up the end of an element.&lt;/P&gt;
&lt;P&gt;Examples:&lt;/P&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table1"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;body element marked up with body tags:
&amp;lt;body&amp;gt;body text in between&amp;lt;/body&amp;gt;.

message element marked up with message tags:
&amp;lt;message&amp;gt;some message in between&amp;lt;/message&amp;gt;&lt;/pre&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;BR&gt;
&lt;HR&gt;
&lt;H3&gt;Attributes&lt;/H3&gt;
&lt;P&gt;Attributes provide &lt;B&gt;extra information about elements&lt;/B&gt;.&lt;/P&gt;
&lt;P&gt;Attributes are always placed inside the starting tag of an element. Attributes 
	always come in name/value pairs. The following "img" element has additional 
	information about a source file:&lt;/P&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table2"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;&amp;lt;img src="computer.gif" /&amp;gt;&lt;/pre&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;P&gt;The name of the element is "img". The name of the attribute is "src". The value 
	of the attribute is "computer.gif". Since the element itself is empty it is 
	closed by a " /".&lt;/P&gt;
&lt;HR&gt;
&lt;H3&gt;Entities&lt;/H3&gt;
&lt;P&gt;Entities are variables used to &lt;B&gt;define common text&lt;/B&gt;. Entity references are 
	references to entities.&lt;/P&gt;
&lt;P&gt;Most of you will know the HTML entity reference: "&amp;amp;nbsp;". This 
	"no-breaking-space" entity is used in HTML to insert an extra space in a 
	document. Entities are expanded when a document is parsed by an XML parser.&lt;/P&gt;
&lt;P&gt;The following entities are predefined in XML:&lt;/P&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table3"&gt;
	&lt;TBODY&gt;
		&lt;TR&gt;
			&lt;TH class="ex" align="left" cellspacing="0"&gt;
				Entity References&lt;/TH&gt;
			&lt;TH class="ex" align="left" cellspacing="0"&gt;
				Character&lt;/TH&gt;&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD&gt;&amp;amp;lt;&lt;/TD&gt;
			&lt;TD&gt;&amp;lt;&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD&gt;&amp;amp;gt;&lt;/TD&gt;
			&lt;TD&gt;&amp;gt;&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD&gt;&amp;amp;amp;&lt;/TD&gt;
			&lt;TD&gt;&amp;amp;&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD&gt;&amp;amp;quot;&lt;/TD&gt;
			&lt;TD&gt;"&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD&gt;&amp;amp;apos;&lt;/TD&gt;
			&lt;TD&gt;'&lt;/TD&gt;
		&lt;/TR&gt;
	&lt;/TBODY&gt;
&lt;/table&gt;
&lt;HR&gt;
&lt;H3&gt;PCDATA&lt;/H3&gt;
&lt;P&gt;PCDATA means parsed character data.&lt;/P&gt;
&lt;P&gt;Think of character data as the text found between the start tag and the end tag 
	of an XML element.&lt;/P&gt;
&lt;P&gt;&lt;B&gt;PCDATA is text that will be parsed by a parser&lt;/B&gt;. Tags inside the text will 
	be treated as markup and entities will be expanded.
&lt;/P&gt;
&lt;HR&gt;
&lt;H3&gt;CDATA&lt;/H3&gt;
&lt;P&gt;CDATA also means character data.&lt;/P&gt;
&lt;P&gt;&lt;B&gt;CDATA is text that will NOT be parsed by a parser&lt;/B&gt;. Tags inside the text 
	will NOT be treated as markup and entities will not be expanded.&lt;/P&gt;</description>
		</newsitem>
		<newsitem id="31330435903" hide="0">
			<date>July  23, 2005</date>
			<title>DTD - Elements</title>
			<description>&lt;P&gt;In a DTD, XML elements are declared with a DTD element declaration.&lt;/P&gt;
&lt;HR&gt;
&lt;H3&gt;Declaring an Element&lt;/H3&gt;
&lt;P&gt;In the DTD, XML elements are declared with an element declaration. An element 
	declaration has the following syntax:&lt;/P&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table1"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;&amp;lt;!ELEMENT element-name category&amp;gt;
or
&amp;lt;!ELEMENT element-name (element-content)&amp;gt;&lt;/pre&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;BR&gt;
&lt;HR&gt;
&lt;H3&gt;Empty elements&lt;/H3&gt;
&lt;P&gt;Empty elements are declared with the category keyword EMPTY:&lt;/P&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table2"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;&amp;lt;!ELEMENT element-name EMPTY&amp;gt;

example:&lt;/pre&gt;
			&lt;PRE&gt;&amp;lt;!ELEMENT br EMPTY&amp;gt;&lt;/PRE&gt;
			&lt;PRE&gt;XML example:&lt;/PRE&gt;
			&lt;PRE&gt;&amp;lt;br /&amp;gt;&lt;/PRE&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;BR&gt;
&lt;HR&gt;
&lt;H3&gt;Elements with only character data&lt;/H3&gt;
&lt;P&gt;Elements with only character data are declared with #PCDATA inside parentheses:&lt;/P&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table3"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;&amp;lt;!ELEMENT element-name (#PCDATA)&amp;gt;

example:&lt;/pre&gt;
			&lt;PRE&gt;&amp;lt;!ELEMENT from (#PCDATA)&amp;gt;&lt;/PRE&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;BR&gt;
&lt;HR&gt;
&lt;H3&gt;Elements with any contents&lt;/H3&gt;
&lt;P&gt;Elements declared with the category keyword ANY, can contain any combination of 
	parsable data:&lt;/P&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table4"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;&amp;lt;!ELEMENT element-name ANY&amp;gt;&lt;/pre&gt;
			&lt;PRE&gt;example:&lt;/PRE&gt;
			&lt;PRE&gt;&amp;lt;!ELEMENT note ANY&amp;gt;&lt;/PRE&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;BR&gt;
&lt;HR&gt;
&lt;H3&gt;Elements with children (sequences)&lt;/H3&gt;
&lt;P&gt;Elements with one or more children are defined with the name of the children 
	elements inside parentheses:&lt;/P&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table5"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;&amp;lt;!ELEMENT element-name 
 (child-element-name)&amp;gt;
or
&amp;lt;!ELEMENT element-name 
 (child-element-name,child-element-name,.....)&amp;gt;&lt;/pre&gt;
			&lt;PRE&gt;example:&lt;/PRE&gt;
			&lt;PRE&gt;&amp;lt;!ELEMENT note (to,from,heading,body)&amp;gt;&lt;/PRE&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;P&gt;When children are declared in a sequence separated by commas, the children must 
	appear in the same sequence in the document. In a full declaration, the 
	children must also be declared, and the children can also have children. The 
	full declaration of the "note" element will be:
&lt;/P&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table6"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;&amp;lt;!ELEMENT note (to,from,heading,body)&amp;gt;
&amp;lt;!ELEMENT to      (#PCDATA)&amp;gt;
&amp;lt;!ELEMENT from    (#PCDATA)&amp;gt;
&amp;lt;!ELEMENT heading (#PCDATA)&amp;gt;
&amp;lt;!ELEMENT body    (#PCDATA)&amp;gt;&lt;/pre&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;BR&gt;
&lt;HR&gt;
&lt;H3&gt;Declaring only one occurrence of the same element
&lt;/H3&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table7"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;&amp;lt;!ELEMENT element-name (child-name)&amp;gt;&lt;/pre&gt;
			&lt;PRE&gt;example:&lt;/PRE&gt;
			&lt;PRE&gt;&amp;lt;!ELEMENT note (message)&amp;gt;&lt;/PRE&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;P&gt;The example declaration above declares that the child element message must occur 
	once, and only once inside the "note" element.&lt;/P&gt;
&lt;HR&gt;
&lt;H3&gt;Declaring minimum one occurrence of the same element&lt;/H3&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table8"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;&amp;lt;!ELEMENT element-name (child-name+)&amp;gt;&lt;/pre&gt;
			&lt;PRE&gt;example:&lt;/PRE&gt;
			&lt;PRE&gt;&amp;lt;!ELEMENT note (message+)&amp;gt;&lt;/PRE&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;P&gt;The + sign in the example above declares that the child element message must 
	occur one or more times inside the "note" element.&lt;/P&gt;
&lt;HR&gt;
&lt;H3&gt;Declaring zero or more occurrences of the same element
&lt;/H3&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table9"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;&amp;lt;!ELEMENT element-name (child-name*)&amp;gt;&lt;/pre&gt;
			&lt;PRE&gt;example:&lt;/PRE&gt;
			&lt;PRE&gt;&amp;lt;!ELEMENT note (message*)&amp;gt;&lt;/PRE&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;P&gt;The * sign in the example above declares that the child element message can 
	occur zero or more times inside the "note" element.&lt;/P&gt;
&lt;HR&gt;
&lt;H3&gt;Declaring zero or one occurrences of the same element
&lt;/H3&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table10"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;&amp;lt;!ELEMENT element-name (child-name?)&amp;gt;&lt;/pre&gt;
			&lt;PRE&gt;example:&lt;/PRE&gt;
			&lt;PRE&gt;&amp;lt;!ELEMENT note (message?)&amp;gt;&lt;/PRE&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;P&gt;The ? sign in the example above declares that the child element message can 
	occur zero or one times inside the "note" element.&lt;/P&gt;
&lt;HR&gt;
&lt;H3&gt;Declaring either/or content&lt;/H3&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table11"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;example:&lt;/pre&gt;
			&lt;PRE&gt;&amp;lt;!ELEMENT note (to,from,header,(message|body))&amp;gt;&lt;/PRE&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;P&gt;The example above declares that the "note" element must contain a "to" element, 
	a "from" element, a "header" element, and either a "message" or a "body" 
	element.&lt;/P&gt;
&lt;HR&gt;
&lt;H3&gt;Declaring mixed content&lt;/H3&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table12"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;example:&lt;/pre&gt;
			&lt;PRE&gt;&amp;lt;!ELEMENT note (#PCDATA|to|from|header|message)*&amp;gt;&lt;/PRE&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;P&gt;The example above declares that the "note" element can contain zero or more 
	occurrences of parsed character, "to", "from", "header", or "message" elements.&lt;/P&gt;</description>
		</newsitem>
		<newsitem id="41657834213" hide="0">
			<date>July  23, 2005</date>
			<title>DTD - Attributes</title>
			<description>&lt;P&gt;In a DTD, Attributes are declared with an ATTLIST declaration.&lt;/P&gt;
&lt;HR&gt;
&lt;H3&gt;Declaring Attributes&lt;/H3&gt;
&lt;P&gt;An attribute declaration has the following syntax:&lt;/P&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table1"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;&amp;lt;!ATTLIST element-name attribute-name 
 attribute-type default-value&amp;gt;&lt;/pre&gt;
			&lt;PRE&gt;example:&lt;/PRE&gt;
			&lt;PRE&gt;DTD example:
&amp;lt;!ATTLIST payment type CDATA "check"&amp;gt;

XML example:
&amp;lt;payment type="check" /&amp;gt;&lt;/PRE&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;P&gt;The &lt;B&gt;attribute-type&lt;/B&gt; can have the following values:&lt;/P&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table2"&gt;
	&lt;TBODY&gt;
		&lt;TR&gt;
			&lt;TH align="left" width="25%"&gt;
				Value&lt;/TH&gt;
			&lt;TH align="left" width="75%"&gt;
				Explanation&lt;/TH&gt;&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD&gt;
				&lt;P&gt;CDATA&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD&gt;
				&lt;P&gt;The value is character data&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD&gt;
				&lt;P&gt;(en1|en2|..)&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD&gt;
				&lt;P&gt;The value must be one from an enumerated list&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD&gt;
				&lt;P&gt;ID&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD&gt;
				&lt;P&gt;The value is a unique id
				&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD&gt;
				&lt;P&gt;IDREF&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD&gt;
				&lt;P&gt;The value is the id of another element&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD&gt;
				&lt;P&gt;IDREFS&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD&gt;
				&lt;P&gt;The value is a list of other ids&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD&gt;
				&lt;P&gt;NMTOKEN&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD&gt;
				&lt;P&gt;The value is a valid XML name&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD&gt;
				&lt;P&gt;NMTOKENS&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD&gt;
				&lt;P&gt;The value is a list of valid XML names&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD&gt;
				&lt;P&gt;ENTITY&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD&gt;
				&lt;P&gt;The value is an entity
				&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD&gt;
				&lt;P&gt;ENTITIES&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD&gt;
				&lt;P&gt;The value is a list of entities&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD&gt;
				&lt;P&gt;NOTATION&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD&gt;
				&lt;P&gt;The value is a name of a notation&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD&gt;
				&lt;P&gt;xml:&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD&gt;
				&lt;P&gt;The value is a predefined xml value&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
	&lt;/TBODY&gt;
&lt;/table&gt;
&lt;P&gt;The &lt;B&gt;default-value&lt;/B&gt; can have the following values:&lt;/P&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table3"&gt;
	&lt;TBODY&gt;
		&lt;TR&gt;
			&lt;TH align="left" width="25%"&gt;
				Value&lt;/TH&gt;
			&lt;TH align="left" width="75%"&gt;
				Explanation&lt;/TH&gt;&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD&gt;
				&lt;P&gt;value&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD&gt;
				&lt;P&gt;The default value of the attribute&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD&gt;
				&lt;P&gt;#REQUIRED&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD&gt;
				&lt;P&gt;The attribute value must be included in the element&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD&gt;
				&lt;P&gt;#IMPLIED&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD&gt;
				&lt;P&gt;The attribute does not have to be included&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
		&lt;TR&gt;
			&lt;TD&gt;
				&lt;P&gt;#FIXED value&lt;/P&gt;
			&lt;/TD&gt;
			&lt;TD&gt;
				&lt;P&gt;The attribute value is fixed&lt;/P&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
	&lt;/TBODY&gt;
&lt;/table&gt;
&lt;BR&gt;
&lt;HR&gt;
&lt;H3&gt;Specifying a Default attribute value&lt;/H3&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table4"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;DTD:
&amp;lt;!ELEMENT square EMPTY&amp;gt;
&amp;lt;!ATTLIST square width CDATA "0"&amp;gt;&lt;/pre&gt;
			&lt;PRE&gt;Valid XML:
&amp;lt;square width="100" /&amp;gt;&lt;/PRE&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;P&gt;In the example above, the "square" element is defined to be an empty element 
	with a "width" attribute of type CDATA. If no width is specified, it has a 
	default value of 0.&lt;/P&gt;
&lt;HR&gt;
&lt;H3&gt;#IMPLIED&lt;/H3&gt;
&lt;H3&gt;Syntax&lt;/H3&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table5"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;&amp;lt;!ATTLIST element-name attribute-name 
attribute-type #IMPLIED&amp;gt;&lt;/pre&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;H3&gt;Example&lt;/H3&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table6"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;DTD:
&amp;lt;!ATTLIST contact fax CDATA #IMPLIED&amp;gt;&lt;/pre&gt;
			&lt;PRE&gt;Valid XML:
&amp;lt;contact fax="555-667788" /&amp;gt;&lt;/PRE&gt;
			&lt;PRE&gt;Valid XML:
&amp;lt;contact /&amp;gt;&lt;/PRE&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;P&gt;Use the #IMPLIED keyword if you don't want to force the author to include an 
	attribute, and you don't have an option for a default value.&lt;/P&gt;
&lt;HR&gt;
&lt;H3&gt;#REQUIRED&lt;/H3&gt;
&lt;H3&gt;Syntax&lt;/H3&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table7"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;lt;!ATTLIST element-name attribute_name 
attribute-type #REQUIRED&amp;gt;&lt;/pre&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;H3&gt;Example&lt;/H3&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table8"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;DTD:
&amp;lt;!ATTLIST person number CDATA #REQUIRED&amp;gt;&lt;/pre&gt;
			&lt;PRE&gt;Valid XML:
&amp;lt;person number="5677" /&amp;gt;&lt;/PRE&gt;
			&lt;PRE&gt;Invalid XML:
&amp;lt;person /&amp;gt;&lt;/PRE&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;P&gt;Use the #REQUIRED keyword if you don't have an option for a default value, but 
	still want to force the attribute to be present.&lt;/P&gt;
&lt;HR&gt;
&lt;H3&gt;#FIXED&lt;/H3&gt;
&lt;H3&gt;Syntax&lt;/H3&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table9"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;&amp;lt;!ATTLIST element-name attribute-name 
attribute-type #FIXED "value"&amp;gt;&lt;/pre&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;H3&gt;Example&lt;/H3&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table10"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;DTD:
&amp;lt;!ATTLIST sender company CDATA #FIXED "Microsoft"&amp;gt;&lt;/pre&gt;
			&lt;PRE&gt;Valid XML:
&amp;lt;sender company="Microsoft" /&amp;gt;&lt;/PRE&gt;
			&lt;PRE&gt;Invalid XML:
&amp;lt;sender company="W3Schools" /&amp;gt;&lt;/PRE&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;P&gt;Use the #FIXED keyword when you want an attribute to have a fixed value without 
	allowing the author to change it. If an author includes another value, the XML 
	parser will return an error.&lt;/P&gt;
&lt;HR&gt;
&lt;H3&gt;Enumerated attribute values&lt;/H3&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table11"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;Syntax:
&amp;lt;!ATTLIST element-name 
 attribute-name (en1|en2|..) default-value&amp;gt;&lt;/pre&gt;
			&lt;PRE&gt;DTD example:
&amp;lt;!ATTLIST payment type (check|cash) "cash"&amp;gt;

XML example:
&amp;lt;payment type="check" /&amp;gt;
or
&amp;lt;payment type="cash" /&amp;gt;&lt;/PRE&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;P&gt;Use enumerated attribute values when you want the attribute values to be one of 
	a fixed set of legal values.&lt;/P&gt;</description>
		</newsitem>
		<newsitem id="1908681201" hide="0">
			<date>August  10, 2005</date>
			<title>DTD - Entities</title>
			<description>&lt;P&gt;Entities are variables used to define shortcuts to common text.&lt;BR&gt;
	&lt;BR&gt;
	- Entity references are references to entities.&lt;BR&gt;
	- Entities can be declared internal, or external&lt;/P&gt;
&lt;HR&gt;
&lt;H3&gt;Internal Entity Declaration
&lt;/H3&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table1"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;Syntax: &lt;/pre&gt;
			&lt;PRE&gt;&amp;lt;!ENTITY entity-name "entity-value"&amp;gt;

DTD Example:&lt;/PRE&gt;
			&lt;PRE&gt;&amp;lt;!ENTITY writer "Donald Duck."&amp;gt;
&amp;lt;!ENTITY copyright "Copyright W3Schools."&amp;gt;&lt;/PRE&gt;
			&lt;PRE&gt;XML example:&lt;/PRE&gt;
			&lt;PRE&gt;&amp;lt;author&amp;gt;&amp;amp;writer;&amp;amp;copyright;&amp;lt;/author&amp;gt;&lt;/PRE&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;HR&gt;
&lt;H3&gt;External Entity Declaration
&lt;/H3&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style='color:white;font-weight:800' cellspacing="0"
	ID="Table2"&gt;
	&lt;tr style='color:white;font-weight:800'&gt;
		&lt;td&gt;
			&lt;pre style='color:white;font-weight:800'&gt;Syntax: &lt;/pre&gt;
			&lt;PRE&gt;&amp;lt;!ENTITY entity-name SYSTEM "URI/URL"&amp;gt;

DTD Example:&lt;/PRE&gt;
			&lt;PRE&gt;&amp;lt;!ENTITY writer    
 SYSTEM "http://www.w3schools.com/dtd/entities.dtd"&amp;gt;
&amp;lt;!ENTITY copyright 
 SYSTEM "http://www.w3schools.com/dtd/entities.dtd"&amp;gt;&lt;/PRE&gt;
			&lt;PRE&gt;XML example:&lt;/PRE&gt;
			&lt;PRE&gt;&amp;lt;author&amp;gt;&amp;amp;writer;&amp;amp;copyright;&amp;lt;/author&amp;gt;&lt;/PRE&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;</description>
		</newsitem>
		<newsitem id="22325657245" hide="0">
			<date>August  10, 2005</date>
			<title>DTD Validation</title>
			<description>&lt;P&gt;Internet Explorer 5.0 can validate your XML against a DTD.&lt;/P&gt;
&lt;HR&gt;
&lt;H3&gt;Validating with the XML Parser
&lt;/H3&gt;
&lt;P&gt;If you try to open an XML document, the XML Parser might generate an error. By 
	accessing the parseError object, the exact error code, the error text, and even 
	the line that caused the error can be retrieved:&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Note:&lt;/B&gt; The load( ) method is used for files, while the loadXML( ) method 
	is used for strings.&lt;/P&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style=&amp;#8216;color:white;font-weight:800&amp;#8216; cellspacing="0" ID="Table1"&gt;
	&lt;tr style=&amp;#8216;color:white;font-weight:800&amp;#8216;&gt;
		&lt;td&gt;
			&lt;pre style=&amp;#8216;color:white;font-weight:800&amp;#8216;&gt;var xmlDoc = new ActiveXObject("Microsoft.XMLDOM")
xmlDoc.async="false"
xmlDoc.validateOnParse="true"
xmlDoc.load("note_dtd_error.xml")

document.write("&amp;lt;br&amp;gt;Error Code: ")
document.write(xmlDoc.parseError.errorCode)
document.write("&amp;lt;br&amp;gt;Error Reason: ")
document.write(xmlDoc.parseError.reason)
document.write("&amp;lt;br&amp;gt;Error Line: ")
document.write(xmlDoc.parseError.line)&lt;/PRE&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
	
&lt;/TABLE&gt;
&lt;P&gt;&lt;A href="http://www.w3schools.com/dtd/tryit.asp?filename=note_error_three" target="_blank"&gt;Try it Yourself&lt;/A&gt;
	or just &lt;A href="http://www.w3schools.com/dtd/note_dtd_error.xml" target="_blank"&gt;look at the XML file&lt;/A&gt;&lt;/P&gt;
&lt;HR&gt;
&lt;H3&gt;Turning Validation off
&lt;/H3&gt;
&lt;P&gt;Validation can be turned off by setting the XML parser&amp;#8216;s 
	validateOnParse="false".
&lt;/P&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style=&amp;#8216;color:white;font-weight:800&amp;#8216; cellspacing="0" ID="Table2"&gt;
	&lt;tr style=&amp;#8216;color:white;font-weight:800&amp;#8216;&gt;
		&lt;td&gt;
			&lt;pre style=&amp;#8216;color:white;font-weight:800&amp;#8216;&gt;var xmlDoc = new ActiveXObject("Microsoft.XMLDOM")
xmlDoc.async="false"
xmlDoc.validateOnParse="false"
xmlDoc.load("note_dtd_error.xml")

document.write("&amp;lt;br&amp;gt;Error Code: ")
document.write(xmlDoc.parseError.errorCode)
document.write("&amp;lt;br&amp;gt;Error Reason: ")
document.write(xmlDoc.parseError.reason)
document.write("&amp;lt;br&amp;gt;Error Line: ")
document.write(xmlDoc.parseError.line)&lt;/PRE&gt;
			&lt;/TD&gt;
		&lt;/TR&gt;
	
&lt;/TABLE&gt;
&lt;P&gt;&lt;A href="http://www.w3schools.com/dtd/tryit.asp?filename=note_error_four" target="_blank"&gt;Try it Yourself&lt;/A&gt;&lt;/P&gt;
&lt;HR&gt;
&lt;H3&gt;A general XML Validator&lt;/H3&gt;
&lt;P&gt;To help you validate your xml files, we have created this link so that you can &lt;A href="http://www.w3schools.com/dom/dom_validate.asp" target="_blank"&gt;
		Validate any XML file&lt;/A&gt;.&lt;/P&gt;
&lt;HR&gt;
&lt;H3&gt;The parseError Object&lt;/H3&gt;
&lt;P&gt;You can read more about the parseError object in our XML &lt;A href="http://www.w3schools.com/dom/default.asp" target=_blank&gt;DOM 
		tutorial&lt;/A&gt;.&lt;/P&gt;</description>
		</newsitem>
		<newsitem id="40175252930" hide="0">
			<date>August  10, 2005</date>
			<title>DTD - Examples from the Net</title>
			<description>&lt;H3&gt;TV Schedule DTD
&lt;/H3&gt;
&lt;P&gt;By David Moisan. Copied from his Web: &lt;A href="http://www.davidmoisan.org/" target="_blank"&gt;
		http://www.davidmoisan.org/&lt;/A&gt;&lt;/P&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style=&amp;#8216;color:white;font-weight:800&amp;#8216; cellspacing="0"
	ID="Table1"&gt;
	&lt;tr style=&amp;#8216;color:white;font-weight:800&amp;#8216;&gt;
		&lt;td&gt;
			&lt;pre style=&amp;#8216;color:white;font-weight:800&amp;#8216;&gt;&amp;lt;!DOCTYPE TVSCHEDULE [&lt;/pre&gt;
			&lt;PRE&gt;&amp;lt;!ELEMENT TVSCHEDULE (CHANNEL+)&amp;gt;
&amp;lt;!ELEMENT CHANNEL (BANNER,DAY+)&amp;gt;
&amp;lt;!ELEMENT BANNER (#PCDATA)&amp;gt;
&amp;lt;!ELEMENT DAY (DATE,(HOLIDAY|PROGRAMSLOT+)+)&amp;gt;
&amp;lt;!ELEMENT HOLIDAY (#PCDATA)&amp;gt;
&amp;lt;!ELEMENT DATE (#PCDATA)&amp;gt;
&amp;lt;!ELEMENT PROGRAMSLOT (TIME,TITLE,DESCRIPTION?)&amp;gt;
&amp;lt;!ELEMENT TIME (#PCDATA)&amp;gt;
&amp;lt;!ELEMENT TITLE (#PCDATA)&amp;gt;Â 
&amp;lt;!ELEMENT DESCRIPTION (#PCDATA)&amp;gt;

&amp;lt;!ATTLIST TVSCHEDULE NAME CDATA #REQUIRED&amp;gt;
&amp;lt;!ATTLIST CHANNEL CHAN CDATA #REQUIRED&amp;gt;
&amp;lt;!ATTLIST PROGRAMSLOT VTR CDATA #IMPLIED&amp;gt;
&amp;lt;!ATTLIST TITLE RATING CDATA #IMPLIED&amp;gt;
&amp;lt;!ATTLIST TITLE LANGUAGE CDATA #IMPLIED&amp;gt;

]&amp;gt;&lt;/PRE&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;HR&gt;
&lt;H3&gt;Newspaper Article DTD
&lt;/H3&gt;
&lt;P&gt;Copied from &lt;A href="http://www.davidmoisan.org/" target="_blank"&gt;http://www.vervet.com/&lt;/A&gt;
&lt;/P&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style=&amp;#8216;color:white;font-weight:800&amp;#8216; cellspacing="0"
	ID="Table2"&gt;
	&lt;tr style=&amp;#8216;color:white;font-weight:800&amp;#8216;&gt;
		&lt;td&gt;
			&lt;pre style=&amp;#8216;color:white;font-weight:800&amp;#8216;&gt;&amp;lt;!DOCTYPE NEWSPAPER [Â &lt;/pre&gt;
			&lt;PRE&gt;&amp;lt;!ELEMENT NEWSPAPER (ARTICLE+)&amp;gt;
&amp;lt;!ELEMENT ARTICLE (HEADLINE,BYLINE,LEAD,BODY,NOTES)&amp;gt;
&amp;lt;!ELEMENT HEADLINE (#PCDATA)&amp;gt;
&amp;lt;!ELEMENT BYLINE (#PCDATA)&amp;gt;
&amp;lt;!ELEMENT LEAD (#PCDATA)&amp;gt;
&amp;lt;!ELEMENT BODY (#PCDATA)&amp;gt;
&amp;lt;!ELEMENT NOTES (#PCDATA)&amp;gt;Â &lt;/PRE&gt;
			&lt;PRE&gt;&amp;lt;!ATTLIST ARTICLE AUTHOR CDATA #REQUIRED&amp;gt;
&amp;lt;!ATTLIST ARTICLE EDITOR CDATA #IMPLIED&amp;gt;
&amp;lt;!ATTLIST ARTICLE DATE CDATA #IMPLIED&amp;gt;
&amp;lt;!ATTLIST ARTICLE EDITION CDATA #IMPLIED&amp;gt;&lt;/PRE&gt;
			&lt;PRE&gt;&amp;lt;!ENTITY NEWSPAPER "Vervet Logic Times"&amp;gt;
&amp;lt;!ENTITY PUBLISHER "Vervet Logic Press"&amp;gt;
&amp;lt;!ENTITY COPYRIGHT "Copyright 1998 Vervet Logic Press"&amp;gt;&lt;/PRE&gt;
			&lt;PRE&gt;]&amp;gt;&lt;/PRE&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;
&lt;HR&gt;
&lt;H3&gt;Product Catalog DTD
&lt;/H3&gt;
&lt;P&gt;Copied from &lt;A href="http://www.vervet.com/" target="_blank"&gt;http://www.vervet.com/&lt;/A&gt;
&lt;/P&gt;
&lt;table bgcolor="#ACB6C5" width="100%" border="1" style=&amp;#8216;color:white;font-weight:800&amp;#8216; cellspacing="0"
	ID="Table3"&gt;
	&lt;tr style=&amp;#8216;color:white;font-weight:800&amp;#8216;&gt;
		&lt;td&gt;
			&lt;pre style=&amp;#8216;color:white;font-weight:800&amp;#8216;&gt;&amp;lt;!DOCTYPE CATALOG [&lt;/pre&gt;
			&lt;PRE&gt;&amp;lt;!ENTITY AUTHOR "John Doe"&amp;gt;
&amp;lt;!ENTITY COMPANY "JD Power Tools, Inc."&amp;gt;
&amp;lt;!ENTITY EMAIL "jd@jd-tools.com"&amp;gt;

&amp;lt;!ELEMENT CATALOG (PRODUCT+)&amp;gt;

&amp;lt;!ELEMENT PRODUCT
(SPECIFICATIONS+,OPTIONS?,PRICE+,NOTES?)&amp;gt;
&amp;lt;!ATTLIST PRODUCT
NAME CDATA #IMPLIED
CATEGORY (HandTool|Table|Shop-Professional) "HandTool"
PARTNUM CDATA #IMPLIED
PLANT (Pittsburgh|Milwaukee|Chicago) "Chicago"
INVENTORY (InStock|Backordered|Discontinued) "InStock"&amp;gt;

&amp;lt;!ELEMENT SPECIFICATIONS (#PCDATA)&amp;gt;
&amp;lt;!ATTLIST SPECIFICATIONS
WEIGHT CDATA #IMPLIED
POWER CDATA #IMPLIED&amp;gt;

&amp;lt;!ELEMENT OPTIONS (#PCDATA)&amp;gt;
&amp;lt;!ATTLIST OPTIONS
FINISH (Metal|Polished|Matte) "Matte" 
ADAPTER (Included|Optional|NotApplicable) "Included"
CASE (HardShell|Soft|NotApplicable) "HardShell"&amp;gt;

&amp;lt;!ELEMENT PRICE (#PCDATA)&amp;gt;
&amp;lt;!ATTLIST PRICE
MSRP CDATA #IMPLIED
WHOLESALE CDATA #IMPLIED
STREET CDATA #IMPLIED
SHIPPING CDATA #IMPLIED&amp;gt;

&amp;lt;!ELEMENT NOTES (#PCDATA)&amp;gt;

]&amp;gt;&lt;/PRE&gt;
		&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;</description>
		</newsitem>
	</eligbleviewers>
	<eligbleviewers id="eligbl2" newstosee="5" status1="99" status2="100">
	</eligbleviewers>
	<eligbleviewers id="eligbl3" newstosee="5" status1="199" status2="1200"/>
</news>