RE: Same element, different type
> Is there a way to define two unambiguous elements with the > same name but are of different types? I believe the answer > here is "it can't be done", but thought I'd throw this at the > wolves to see if I'm right. :) You're right: the "Element Declarations Consistent" rule disallows this. If you want to know why, that's another story, whose beginning is lost in the mist of time. You can do it in XSD 1.1 using assertions. Michael Kay http://www.saxonica.com/
[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