• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Difference between XSD attribute and element

 
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?
 
Rancher
Posts: 3645
38
  • 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
 
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
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic