> But they don't (seem to) have enough information to reconstruct the original model
What do you mean by the original model? The XML representation? Or the real content of the model (like sequence of choice of elements and wildcards)? If it's the former, then XSModel is not for it. We only represent schemas, not schema documents. If it's the latter, then it is possible to get all such information using getParticle() and traverse the particle recursively to get the model groups and particles etc. > Do we need getContentModel() for such an application No. The "content model" is an internal representation of the particles that's used for validation, and doesn't contain information about the "original model" (whatever it means :-) ). 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]