Encode the given information using XML document. Construct an external DTD (Document Type Definition) for the XML document. Convert DTD to XML Schema and validate the document. Write a stylesheet to style the data using XSLT. code example
Example: dtd
<!DOCTYPE note
[
<!ELEMENT note (to,from,heading,body)>
<!ELEMENT to (#PCDATA)>
<!ELEMENT from (#PCDATA)>
<!ELEMENT heading (#PCDATA)>
<!ELEMENT body (#PCDATA)>
]>