This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes in Schema Dynamic value for maxLength - help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "in Schema Dynamic value for maxLength - help " Watch "in Schema Dynamic value for maxLength - help " New topic
Author

in Schema Dynamic value for maxLength - help

Ayyappan Selvaraj
Ranch Hand

Joined: Sep 20, 2004
Posts: 63
Friends,

In a XSD, I have a huge set of complex elements where in I use 2 defined complex types. The defined complex types differ just by the value for the maxLength attribute. So I require that I can have one complex type instead of two, with a variable defined and value supplied to it when being referred.

The XSD code is:



And I want something like this::



Thanks in advance
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: in Schema Dynamic value for maxLength - help