*
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


JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Schema question..." Watch "Schema question..." New topic
Author

Schema question...

Sri Pos
Greenhorn

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

Here is the question:

I have a schema like this:

<request>
<first_name/>
<last_name/>
<ssn/>
</request>

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?

Thanks,
Sri
 
GeeCON Prague 2014
 
subject: Schema question...