Skip to content

Commit

Permalink
Added Q41
Browse files Browse the repository at this point in the history
Added new question
  • Loading branch information
kalrayashwin authored Oct 16, 2021
1 parent 5c2db39 commit 5bb5da7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions xml/xml-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -545,3 +545,10 @@ car#year {
padding-top: 0.5em;
}
```

#### Q41. An XML document contains this code as part of the DTD: <!ELEMENT car (make, model?, year+, price*)>. What are the rules that need to be followed for each of the elements?

- [ ] <make> is required, <model> is optional, <year> is optional, and <price> is optional.
- [ ] <make> is required, <model> is required, <year> is optional, and <price> is optional.
- [ ] <make> is required, <model> is required, <year> is required, and <price> is optional.
- [x] <make> is required, <model> is optional, <year> is required, and <price> is optional.

0 comments on commit 5bb5da7

Please sign in to comment.