x
“message”. Root element of the document is
<!ELEMENT message (to,from,sub,body)> -> Element “message” has to, from, sub, body elements.
<!ELEMENT to (#PCDATA)> -> ‘to’ is element which takes only ‘parsed character’ data.
<!ENTITY from "From: Common Man"> -> ‘from’ is shortcut to ‘From: Common Man’
<!ELEMENT sub (ANY)> -> ‘sub’ element takes any kind of parsable data.
version="1.0"
<message>
<to>President</to>
<from>&from;</from>
<sub>Congratulations on becoming president!</sub>
<body>Congratulations!Celebrating our independence in your rule!!</body>
</message>
Comments
No comments have been made yet.
Please login to leave a comment. Login now