aspose file tools*
The moose likes XML and Related Technologies and the fly likes Schema question... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Schema question..." Watch "Schema question..." New topic

Schema question...

Sri Pos

Joined: Dec 05, 2006
Posts: 9
Hi all,

Here is the question:

I have a schema like this:


In the above request, is it possible to make ssn or the combination of first_name and last_name required elements? In other word, the client can send in ssn or [first_name AND last_name].

Is it possible? If so how should the schema look like?

It is sorta covered in the JavaRanch Style Guide.
subject: Schema question...
Similar Threads
Make fields required when one has a value.
converting HTML form to XML
Schema question...
ERROR: "Could not retrieve connection info from pool"
XML data to Oracle database