Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Using XML Schema to Force At Least One Item?

From: "Kenneth Love" <klove@---.--.--->
To: NULL
Date: 4/1/2005 11:06:00 AM
Okay.  I guess I left out the requirement that no more than one of each
element A, B, or C can appear in the result.

ABC is valid.  C is valid. AA is not.  CBC is not.

The order is not that important to me.  If I was provided a solution
forcing the elements to be in a certain order then that's okay.  It's
okay if the solution provides for the elements to be in any order.  I
would prefer the former, actually.

I could write a regular expression like this:

RE = (A, B?, C?) | (A?, B, C?) | (A?, B?, C)

Any thoughts?

adTHANKSvance,
Kenneth Love



transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent