• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

content model question

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This question from IBM XML sample test.
Which one of the following XML content models is NOT allowed?
1. <!element Customer (Name, Ship-to-address?, Bill-to-address?)>
2. <!element Customer ((Name, Ship-to-address) | (Name, Bill-to-address))>
3. <!element Customer (Name, (Ship-to-address | Bill-to-address)?)>
4. <!element Customer (Name, (Ship-to-address, Bill-to-address)?)>
Can anybody answer me with good reason?
Thanks
Ashish Jain
 
Leverager of our synergies
Posts: 10065
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check this link: http://www.javaranch.com/ubb/Forum31/HTML/000710.html
 
Ashish Jain
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Mapraputa
reply
    Bookmark Topic Watch Topic
  • New Topic