I'm a bit stuck, just wondering if anyone could help me. It's for a final year assignment at university, to create a costume searching system for a made up sci-fi TV show (in case you were wondering!). We've been given this DTD:
I asked my lecturer, he said he couldn't say how to do it, all he could say was that it was 'neither' of those two ways. Is there any other way to do it?
Your second try is valid in the XML sense of the word, but not what the lecturer has in mind. The "+" in
Code:
<!ELEMENT costume (characterType, gender, size+)>
means that a costume must have one or more size elements.
“The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
—Tim Berners-Lee, W3C Director and inventor of the World Wide Web
Bookmarks