Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML Attributes

 
Rinku Singh
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I read it in Whizlabs that attributes can not have minOccurence and maxOccurenece constraints ??


But in the XMML for dummies by Richard they say xsd:sttrbute can have minOccurence and maxOccurenece constraints .

I am looking if someone can explain
 
m prabhu
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi rinku,
attributes cannot have minoccurs or max occurs.these are only for elements.
they have 'use' attribute as occurence constarints.
refer xml 1.0 spec for clarification

prabhu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic