DHTML_XML4_2

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mybook [ <!ELEMENT mybook ANY> <!ELEMENT book (title,author,price,country)> <!ELEMENT title (#PCDATA)> <!ELEMENT author (#PCDATA|name)*> <!ELEMENT name (#PCDATA)> <!ELEMENT price (#PCDATA)> <!ELEMENT country (India|US)> <!ELEMENT India EMPTY> <!ELEMENT US EMPTY> ]> <mybook> This is a list of books with details. <book> <title>Five Point Someone</title> <author>Chetan Bhagat</author> <price>$2.99</price> <country> <India></India> </country> </book> <book> <title>I too had a Love Story</title> <author> <name>Ravindra Singh</name> </author> <price>$1.99</price> <country> <US></US> </country> </book> </mybook>

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.