File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Make it so: Java DB Connections & Transactions
this week in the
XML and Related Technologies
Help with choice & group tags
Joined: Jul 20, 2005
Aug 15, 2005 20:43:00
Need some help with XML validation. A valid xml file should look like (a) or (b) or (c)..
That is, either it should be <apples> tag or <oranges> tag or (<apples> AND <oranges> tags).
I tried the following xsd schema, but one
case fails (two <apples> is valid with this xsd, which is incorrect)
<choice minOccurs="1" maxOccurs="2">
Can this requirement be met using any other tags ? Any help is appreciated.
I agree. Here's the link:
subject: Help with choice & group tags
XML / XSL problem
Importing multiple external XSD files
struts 2 s:radio tag
JSTL : not working with JSP 2.0
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015