RE: [xml-dev] Best Practice: constrain an element's content by (1) a run-time selection of alternate types or (2) a run-time selection of child elements using an XPath expression?

From
Costello, Roger L. <>
To
"''" <>
Date
2009-05-11T19:08:34Z
ID
<>
Thread
RE: [xml-dev] Best Practice: constrain an element's content by (1) a run-time selection of alternate types or (2) a run-time selection of child elements using an XPath expression?
Hi Rob,

> (3) wrap an Authors element around Author where:
>    ...  
> wouldn't that simplify things?


Perhaps, but that's getting away from the issue. 


The issue is schema design not XML design.

Namely, should a schema be designed in which

- types are selected at run-time, or in which

- elements are selected at run-time using an XPath expression


What do you think?

/Roger