[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Schema question
No, can't do it in schema. There is always going to be some application level validation that you would have to perform in a well designed system. The schema efforts have wisely avoided performing any validation that would require lookahead or lookaround since that would inhibit the use of schema for event-based processing. You could use an XSLT transform to detect potential inconsistencies, but the best approach is to eliminate the potential for inconsistency by eliminating the numberOfProduct's attribute. *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|