|
[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Is this constraint expressible in XML Schema?
- To: XML Developers List <xml-dev@l...>
- Subject: Is this constraint expressible in XML Schema?
- From: Kenneth Stephen <marvin.the.paranoid@g...>
- Date: Tue, 8 Feb 2005 16:13:18 -0600
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=BOEmQ6vyIZ3i+XAiG5YwWz2HB15mYSjVBSVcIbYr7zQOb01LEWed27xpvkoL0Dqid1vOQdWifathQoFDj5ppmMXC956xGszYdmk7lc3iBdVEnqR/4pY5T9T2rGpMhqjcrYfjmH4zdaRo7HS7QnY0LYVopbLhvJ8zuEtmo8U2it4=
- Reply-to: Kenneth Stephen <marvin.the.paranoid@g...>
Hi,
I want to express the following constraint using XML schema :
An unbounded sequence of (A or B) elements which can contain at
most n instances of A.
To illiustrate, I set n = 2. In that case, BABBBBBABBB is valid.
So is AABB . BABABA is not valid because there are more than 2 A
elements in it.
Thanks,
Kenneth
|
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
| RSS 2.0 |
 |
| Atom 0.3 |
 |
| |
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
click here.
|
|