|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: schemas: can I restrict an elem's content based on att value?
> In general, no, unless the attribute is "xsi:type" which would be appropriate > for your example. this really confused me -- are you saying I can constrain an elements contents by putting an xsi:type attribute in my *instance* document? what if the element is already constrained (by the referenced schema)?? can I only add an xsi:type that restricts, or can I completely redefine it? I'd appreciate any examples or pointers to the releveant sections of the CR. thanks, Imran Rashid
|
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








