• 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 ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Inhertiting complex type in XML Schema

Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have xml schema as below.

with this above schema, i have to define address tag in my xml document

I am not able to define address tag elements in the order of line1, line2, city, zip, state, country.
How should I change my xml schema so that I can declare elements in free form. I tried using 'all' instead of sequence but it is not allowing in inheriting of xml schema..
I read from RMH book (Page 48) that "Only single elements may be used in an all group; it can't include other groupings like sequence or all"
Please help me, how can I define my schema to allow flexibility of any order of address tag?
Thanks in advance.
What do you have to say for yourself? Hmmm? Anything? And you call yourself a tiny ad.
a bit of art, as a gift, that will fit in a stocking
    Bookmark Topic Watch Topic
  • New Topic