- From: Arvind M Patil <arvind.patil@majoris.com>
- Date: Fri, 23 May 2003 14:33:44 +0530
- To: <xmlschema-dev@w3.org>
Received on Friday, 23 May 2003 05:11:30 UTC
Hi all,
Can I define a business rules in xml schema definition.
For example: Consider a sample xml definition
<employee>
<name>xyz</name>
<age>30</age>
<maxServiceAllowed>28</maxServiceAllowed>
<maxAge>58</maxAge>
</employee>
So based on this hypothetical information, I wanted to have validation rule in schema such away that
maxServiceAllowed = maxAge - age
Can I acheive this in schema? Thanks for attention.
Regards,
Arvind
Received on Friday, 23 May 2003 05:11:30 UTC