Re: How to define a "anywhere" node in my XSD



There's no easy syntax for that. You have to explicitly write your schema so it says the documentation element can appear anywhere in any of the individual element models.

One alternative might be to use the documentation element only in non-validated documents, and require that it be filtered out before validating.
.