W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2001


From: Venkata_Katari <Venkata_Katari@satyam.com>
Date: Tue, 24 Jul 2001 11:48:17 +0530
Message-ID: <A44765C986F8D411995B00B0D0795F4B04A91D25@hht.satyam.com>
To: www-dom@w3.org
i am new to XML.i started with DTD's.i am practising with some examples.
i am using IE 5.0 version.first i tried a sample program with internal DTD.
the xample is follows	:-

<?xml version="1.0"?>
<!DOCTYPE note [
  <!ELEMENT note (to,from,heading,body)>
  <!ELEMENT to      (#PCDATA)>  
  <!ELEMENT from    (#PCDATA)>  
  <!ELEMENT heading (#PCDATA)>  
  <!ELEMENT body    (#PCDATA)>]>
	  <body>Don't forget me this weekend</body>

actually the child nodes, (to,from,heading,body) should follow the same
sequence in the xml document.
but even though i interchanged the sequence in the XML document, it did not
give me any error.
do i need to set any properties in the browser?.

raju kvk
Received on Tuesday, 24 July 2001 02:21:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:08 UTC