Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Create an array

 
mark smith
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

in an xsd i need to create a array.

So i have to create an objet: PolicyRequest who contain an array of Payment



minOccurs and maxOccurs don't seem related to doing that. any suggestion?

thanks
 
K. Tsang
Bartender
Posts: 3526
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First of all, XML schema doesn't have array type. But it has list.

It also depends on how you want to represent your data. Sorry not using your schema tags. Let say I have a "cert_exam" tag representing a certificate I have achieved.


Then the schema would look like

 
mark smith
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it look like directly the same thing i done.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic