File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

in Schema Dynamic value for maxLength - help

 
Ayyappan Selvaraj
Ranch Hand
Posts: 63
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic