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
RabbitMQ in Depth
this week in the
XML and Related Technologies
Three Optional Fields in a XML file but at least on of them is required
Joined: Feb 20, 2006
Feb 12, 2009 10:44:51
I'am trying to implement a validation rule for an XML file,in wich three elements
are optional,but it's necessary to have at least one of them.
<xs:element name="element1" minOccurs="0" maxOccurs="unbounded">
<xs:element name="element2" minOccurs="0" maxOccurs="unbounded">
<xs:element name="element2" minOccurs="0" maxOccurs="unbounded">[/i]
Is it possible to implement this validation rule in XSD ?
I agree. Here's the link:
subject: Three Optional Fields in a XML file but at least on of them is required
servlets and xml
validation question od XML schemas
XSD - all unbounded question ??
XML valiadation using schema
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015