Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

XML Exam I10-003 Topic 5 Question 59 Discussion

Actual exam question for XML's I10-003 exam
Question #: 59
Topic #: 5
[All I10-003 Questions]

Assume that for [XML Document] referenced in a separate window, you wish to create an XML Schema document that defines that the value of the level attribute of the record element must be unique within the XML document, and further that the level attribute of the scenario element must reference the value of the level attribute of the record element.

[XML Document]

Select which answer correctly belongs in (1) of the [XML Schema] document below.

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Gregoria
13 days ago
If this was a test on Dungeons & Dragons, the 'level' attribute would be a whole different story. 'You encounter a level 5 dragon. Roll for initiative!'
upvoted 0 times
...
Francesco
14 days ago
Option A? Really? Restricting the level attribute to a specific list of values? That's so 1990s. I want my XML schemas to be flexible, not stuck in the past.
upvoted 0 times
...
Rosalyn
15 days ago
Option D is just silly. Who would use a regular expression to validate the level attribute? That's like trying to solve a simple math problem with calculus.
upvoted 0 times
Virgie
1 days ago
I agree, Option D seems unnecessary for this scenario.
upvoted 0 times
...
...
Dorethea
19 days ago
I like how Option C uses the 'key' and 'keyref' elements to link the scenario element's level attribute to the record element's level attribute. That's a neat way to establish the reference.
upvoted 0 times
...
Jaime
2 months ago
Why do you think Option C is correct?
upvoted 0 times
...
Sue
2 months ago
Option B seems the most logical choice to ensure the uniqueness of the level attribute for the record element. It uses the 'unique' constraint to enforce this requirement.
upvoted 0 times
Sabine
13 days ago
Yes, Option B uses the 'unique' constraint which is perfect for that requirement.
upvoted 0 times
...
Tiera
21 days ago
I agree, Option B is the best choice to ensure the uniqueness of the level attribute.
upvoted 0 times
...
...
Vernice
2 months ago
I disagree, I believe the correct answer is Option C.
upvoted 0 times
...
Jaime
2 months ago
I think the correct answer is Option A.
upvoted 0 times
...

Save Cancel