This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I was wondering if it is possible to specify the following in a schema: If I have one or more element A I must have at least one B. It would be even better if I can say that the number of B's can't exceed the number of A's. A and B are peer elements in an XML doc. I haven't seen anything like this yet in the stuff I have read about schemas. Maybe I haven't read far enough yet. Hmm, just thought of a way that I can avoid this for the specific application I am thinking of but am still very interested in find out if this is possible for more general casses.
The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com