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

Difference between XSD attribute and element

 
manjit sidhu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I understand that you can have a element and attribute in a complex object.

Also elements can be in a sequence.

But what is an attribute and how does it differ from a element?
 
Mikalai Zaikin
Ranch Hand
Posts: 3371
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
manjit sidhu wrote:I understand that you can have a element and attribute in a complex object.

Also elements can be in a sequence.

But what is an attribute and how does it differ from a element?




Is that what you're asking ?

HTH,
MZ
 
Deepika Joshi
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Following is from RMH book, might be helpful

2.1.2.3 Attributes
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic