
Anonymous
Not applicable
2009-08-18
09:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
how to set minOccurs/maxOccurs values in XSD file generation ?
Hello,
I can't find a mean to set minOccurs/maxOccurs values when using the function tAdvancedFileOutputXML with the option to create the associated xsd file, is there one ?
Thanks
I can't find a mean to set minOccurs/maxOccurs values when using the function tAdvancedFileOutputXML with the option to create the associated xsd file, is there one ?
Thanks
233 Views
3 Replies

Anonymous
Not applicable
2009-08-19
04:36 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
It is impossible to customize the minOccurs/maxOccurs. We define the default value for all the elements:
minOccurs="0" maxOccurs="unbounded"
You need change it manually after you generate the xsd file.
Best regards
shong
It is impossible to customize the minOccurs/maxOccurs. We define the default value for all the elements:
minOccurs="0" maxOccurs="unbounded"
You need change it manually after you generate the xsd file.
Best regards
shong
233 Views

Anonymous
Not applicable
2009-08-19
04:45 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello !
Thanks for your answer,
I have modified the generated code in this way but I think it would be great if it was possible to set such values while designing the job rather than in the generated code, maybe it could be taken as a future evolution ?
Best regards,
Thanks for your answer,
I have modified the generated code in this way but I think it would be great if it was possible to set such values while designing the job rather than in the generated code, maybe it could be taken as a future evolution ?
Best regards,
233 Views

Anonymous
Not applicable
2009-08-19
04:56 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
Yes, I understand you, but if there are so many elements in the file and users only want to set the minOccurs/maxOccurs of only one or two elements, instead of all elements.
Best regards
shong
Yes, I understand you, but if there are so many elements in the file and users only want to set the minOccurs/maxOccurs of only one or two elements, instead of all elements.
Best regards
shong
233 Views
