|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML doc valid against more than one DTD / Schema
> > I am working with a complex DTD for a full medical record, and want to > define a simpler subset that could be used just for discharge letters. This > would include restricting some of the enumerated attributes, and providing > FIXED values for others, and removing some of the optional elements. You are thinking of yanking out some subset of a valid, complex DTD and have the subset be the "DTD" against which your documents are compared against. Architectural Forms provide this facility, amongst others, and is a close conceptual match to what you want. Basically, the complex DTD would be the meta DTD (in AF speak) and the simpler subset would be the client DTD that derives elements, attributes, and notations from its meta DTD(s). Your client documents would be validated against the client DTD, and you can restrict/fix/extend values however you wish. Now, whether Architectural Forms is feasible and what state it's in, this list has the answers to that question... But here's something to get it started. :-) /David *************************************************************************** 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
|
|||||||||

Cart








