This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes schema newbie Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "schema newbie" Watch "schema newbie" New topic

schema newbie

keith doyle

Joined: Jan 25, 2005
Posts: 15
Can a schema be used to define pre-requesite tags when the tags in the xml could arrive in any order?


next xml request:


much thanks keith
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
Sure. Just don't use the xsd:sequence to group these elements.

- m

Take a Minute, Donate an Hour, Change a Life
I agree. Here's the link:
subject: schema newbie
It's not a secret anymore!