XML I10-001 Exam - Topic 4 Question 77 Discussion
Select which of the following correctly describes designating two "color" attributes for the "product" element.
A) Use the DTD to make the following attribute list declaration.
<!ATTLIST product color CDATA #REQUIRED
color CDATA #REQUIRED> and B) Use the XML Schema to make the following attribute declaration.
<xs:attribute name='color' type='xs:string'
minOccurs='2'
maxOccurs='2'/>
C) Use the DTD to make the following attribute list declaration.
<!ATTLIST product (color+) CDATA #REQUIRED>
D) A single element cannot have a multiple number of attributes with the same name. W Courier Newlr Z
Iesha
6 months agoCallie
6 months agoBarabara
7 months agoMabelle
7 months agoHerminia
7 months agoMarion
7 months agoTarra
8 months agoAntonette
8 months agoLatia
8 months agoOretha
8 months agoHailey
8 months agoMabel
8 months agoTracey
8 months agoLottie
8 months agoAriel
8 months agoStaci
1 year agoShawnna
11 months agoMitzie
11 months agoNovella
12 months agoYesenia
12 months agoColette
1 year agoSteffanie
12 months agoLatonia
1 year agoCarmela
1 year agoJennie
1 year agoRyan
1 year agoAnnett
1 year agoChau
1 year agoSharan
1 year agoElliott
1 year agoWalton
1 year agoMaurine
1 year agoOwen
1 year agoCristy
1 year agoIsaac
1 year agoElmira
1 year agoEllsworth
1 year agoLorean
1 year agoDolores
1 year agoLouvenia
1 year agoMalcom
1 year ago