Download presentation
Presentation is loading. Please wait.
1
More of DTDs Lecture 3
2
Symbols used in DTD COMMA “, ” enforces sequence
3
Symbols Used in DTDs The star “ * “ denotes 0 or more occerences
4
Symbols used in DTDs The plus symbol “ + “ denotes 1 or more occurrences
5
Symbols used in DTDs The star “ ? “ denotes 0 or 1 occurrence or optional appearance
6
Symbols in DTDs Vertical Bar “ | ” allows choice (OR operator)
7
Elements Containing Only Character Data ;sldjf;lakjdf;lakjskfl important gasfgsdgjdfkjdk
8
Elements Containing Only Elements Only elements:
9
Elements With Mixed Content Mixed content:
10
Attribute Data Types CDATA NMTOKEN NMTOKENS ID IDREF IDREFS
11
Attribute Declaration Example <!ATTLIST memo idID#REQUIRED security(high|low) “high” keywords NMTOKENS #IMPLIED > IMPLIED means it the attribute is optional and has no default value
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.