[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
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 childelements using an XPath expression?
- From: "Costello, Roger L." <costello@mitre.org>
- To: "'xml-dev@lists.xml.org'" <xml-dev@lists.xml.org>
- Date: Mon, 11 May 2009 15:08:34 -0400
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
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]