Re: two elements with the same name but different types

> I read this:
> 
> http://www.stylusstudio.com/xmldev/200307/post30110.html
> 
> ...which gave me hope, but must be wrong.

Yes, that is definately wrong.

It is possible to define 2 separate elements that happen to share the same 
name with local element declarations but those 2 elements cannot be in the 
same content model...as you require in your case.

If you want to read the gory details of where this is disallowed in the 
spec, see [1].

pvb

[1] http://www.w3.org/TR/xmlschema-1/#cos-element-consistent

Received on Monday, 20 March 2006 17:51:48 UTC