> But where is
> described exactly and only what was defined for a particular type,
> independent of its base types?

Xerces only cares about the final content of a type. If you are really
interested in what's added by the derived type, you'll have to do some
dirty work. :-) For example, if a complex type is derived by extension from
another complex type, and both have mixed/element-only content, then
according to the spec, the particle of the derived type is a sequence. So
to get the "net" content of the derived type, you can get the second
particle in this sequence. I know it's ugly, but Xerces really isn't for
that (not yet, at least).

HTH,
Sandy Gao
Software Developer, IBM Canada
(1-905) 413-3255
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to