Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

simpleContent and complexContent

 
Fisher Daniel
Ranch Hand
Posts: 582
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
I am confuse about simpleContent and complexContent in XMLSchema.
Could you please help me with example to exlain about the differences between them?

thanks
daniel
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Consider these two elements in an XML document:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic