DHTML_XML4_1

<?xml version="1.0"?> <!DOCTYPE letter[ <!ELEMENT letter (note+)> <!ELEMENT note (to,from?,body*,city)> <!ELEMENT to (#PCDATA)> <!ELEMENT from (#PCDATA)> <!ELEMENT body (#PCDATA)> <!ELEMENT city (Ahmedabad|Dubai)> <!ELEMENT Ahmedabad (#PCDATA)> <!ELEMENT Dubai (#PCDATA)> ]> <letter> <note> <to>Vaibhav Bansal</to> <from>Vishal Thakkar</from> <body> Hello Vaibhav! </body> <city> <Ahmedabad>Sent from Ahmedabad</Ahmedabad> </city> </note> <note> <to>Vaibhav Bansal</to> <from>Taki M. Rushnaivala</from> <body> Hi Vaibhav! </body> <city> <Dubai>Sent from Dubai</Dubai> </city> </note> </letter> <!-- Occurences - 1. + means 1 or more 2. * means 0 or more 3. ? means 0 or 1 Sequence - Example - <!ELEMENT book (title,author,price)> Choices - Example - <!ELEMENT city (Mumbai|Ahmedabad) -->

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.