[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 child elements using an XPath expression?
- From: Robert Koberg <rob@koberg.com>
- To: "Costello, Roger L." <costello@mitre.org>
- Date: Mon, 11 May 2009 15:14:44 -0400
On May 11, 2009, at 3:08 PM, Costello, Roger L. wrote:
>
> 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.
Aren't they the same?
But, I get your point, just trying to point out a different way to
look at the issue.
best,
-Rob
>
>
> 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
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]