Element derivation questions

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I want to use Element derivation in my schema. But I dont understand how to use it. Everything Ive seen suggests that abstract elements must have the <schema> element has their parent. Furthermore, only elements directly inside the <schema>
element can derive from another element.<br/>
<br/>
I suppose I could use type derivation, but that is clunkier. Some of the elements I simply need to use in multiple places. But others, I really do need to derive to avoid redeclaring contents and attributes.<br/>
<br/>
One place I dont want to declare my elements that arent abstract is directly inside the <schema> element. My understanding is that is the only way you can specify what the root element should be. So essentially, any element derived from another element
could be a root element.<hr class="sig Will Pittenger

View the full article
 
Back
Top