Abstract elements and their usage

Hello all,

I have a question regarding abstract elements. I understand them in principle, I guess they’re similar to C++'s abstract classes.

But how does one use it exactly?

Could someone provide a simple example of how to define an abstract element, how to define a derived one and how to use this derived element in a document instance?

Thank you,

Peter

Abstract elements make sense together with type derivation, substitutionGroups and with xsi:type. In the XML Schema Primer you will find examples.

But note that none of these constructs is supported by Tamino yet. Only inheritance from build-in types is supported.

Hope this helps.

Thank you for the pointer. Time to read the primer!

Peter