Re: What does "optional" mean?
On Mon, Feb 27, 2012 at 4:15 AM, Alex Muir <email@example.com> wrote: > This I would think is the kind of thing you wouldn't do. It would be > better to stick to one or the other and perhaps better to use an > element for readability as the number of attributes increase. Don't > forget that an optional choice like this means more programming in > that a case now is required to check which one exists and perhaps an > error check to make sure they don't both exist. My example wasn't specified exactly, to create the best possible schema design for the sample use-case I proposed (your suggestion is perhaps better). I was suggesting a use-case, where a certain concern of the schema author requires the notion of "optional" XML items necessary. -- Regards, Mukul Gandhi
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
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