File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes XML Schema question Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "XML Schema question" Watch "XML Schema question" New topic
Author

XML Schema question

Vladas Razas
Ranch Hand

Joined: Dec 02, 2003
Posts: 385
Can I specify that element's children element set depends on attribute value? Sample:

<value type="integer">
<min>5</min>
<max>7</max>
</value>

and

<value type="string">
<maxlen>10<maxlen>
</value>

Thanks!
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: XML Schema question
 
Similar Threads
How can do Form Validation in JavaScript
Using XML for string message
empty space validation
Struts 2 + validate int value.
problem in validating text area max length