Saturday, 27 September 2014

Element has a list of children which are grandchildren of other elements DTD



Can I have element which has a list of grandchildren of other elements?


For example there is a declared element Movie containing name and time.



<!ELEMENT Movie (name, time)>


How can I declare element Cinema which contains a list of movie names ?

and can i sort them as they represented in XML file?


Thank you in advance!


No comments:

Post a Comment