Subject:XSD Help Needed Author:Tadd Stuart Date:26 Mar 2008 09:16 AM
Is there a way to add enumerations to each 'm' node specific to an 'n' attribute? Example would be to have the "SitusStateCode" only allow valid US State Codes.
Subject:XSD Help Needed Author:(Deleted User) Date:26 Mar 2008 12:42 PM
Hi Tadd,
if what you want to do is to force the 'v' attribute to be limited to display one of the 50 states when the 'n' attribute is equal to "SitusStateCode", this is not allowed by the XMLSchema 1.0 specs, that cannot enforce a type based on the value of another element/attribute.
XMLSchema 1.1 should support conditional type assignment.