File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 1Z0-808 this week in the OCAJP 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