[XML-DEV Mailing List Archive Home]
[Reply To This Message]
XML schema type question
- To: <xml-dev@l...>
- Subject: XML schema type question
- From: "Jeff Greif" <jgreif@a...>
- Date: Thu, 26 Sep 2002 14:51:57 -0700
I've seen the XML Schema Type Library's "text" type,
supporting arbitrary mixed content. I have been unable to figure out how
to define a complex type whose contents are any simple type value or any single
element, but not a mixture, where an element of this special type has a certain
set of attributes That is, I'm trying to define
??? some kind of restriction of anyType with
either simple or complex content
so I can say in instance docs
<foo a="x" b="y"
<foo a="xx" b="yy"
I think I need a disjunction of simpleContent and
complexContent but am uncertain how to produce this.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please