Can we declare several tags < sequence > in a complex type?

Hi all

Can I use more than one <>tags in xml schema?

< name XS: complexType 'Demo' = >
< xs: Sequence minoccurs = "1" maxoccurs = "1" >

< / xs: SEQUENCE >
< xs: Sequence minoccurs = "0" maxoccurs = "1" >

< / xs: SEQUENCE >

< / xs: complexType >

If you look at the xml example above there are two sequences in a complex type with different values of minoccurs and maxoccurs. This XML is valid? why I need it is that I have a

XML with many elements, some of them have minoccurs = "1" maxoccurs = "1" and others should have the other combination of min and max attributes. I want to

Declare it in the sequence, rather than declaring next to each individual item. is this possible?

Thank you.

Hello

This XML is valid?

No, a complexType expects that one child, but you can do this:


  
    
    ...
    
    
    ...
    
  

However...

XML with many elements, some of them have minoccurs = "1" maxoccurs = "1" and others should have the other combination of min and max attributes.
I would like to say in the sequence, rather than declaring next to each individual item. is this possible?

minOccurs and maxOccurs declared in the sequence to the sequence as a whole, not apply to its individual components.

For example:


     
          
               
                    
                    
               
               
                    
                    
               
          
     
     

What do you expect will work for the first sequence of elements (test1 and test2) but anyway minOccurs and maxOccurs for lack of elements to 1, then what good wrapping it in a sequence?

If I understand correctly what you want, it won't work for the second sequence.
For example, it will be valid:


  
  
  
  

but this won't:


  
  
  

Tags: Oracle Development

Similar Questions

  • Several tags per comment in prelude CC 2015 went?

    Hi all

    I was the feature of the tags in the prelude on the occasion of comments with several tags in prelude CC 2014, but when I updated until 2015, I noticed that if I click on a tag, it automatically creates a new marker of comment. I can't find a way to return to the method of 2014, which if I have highlighted, a comment marker would allow me to add several tags. Anyone know how to get this feature in 2015, or is it gone for good?

    I use Prelude and Premiere Pro in my workflow of logging and extraction of sequence of research data, so having the ability to add multiple tags to any marker in prelude is extremely useful. I prefer this method more with several markers that overlap.

    Can I continue to use prelude CC 2014 at the moment, I prefer not having to keep multiple versions of Adobe applications on my hard drive.

    Thank you

    Mike

    You can hold the 'Shift' key as a modifier key when a marker is selected to add several tags. Thank you!

  • Hello friends, I want to know what the data type can be declared in pl/sql, but cannot be declared in sql?

    Hello friends, I want to know what the data type can be declared in pl/sql, but cannot be declared in sql?

    Hello friends, I want to know what the data type can be declared in pl/sql, but cannot be declared in sql?

    That question is ambiguous: there is NOT a SINGLE type of data that can be declared in pl/sql, but not in sql.

    The Oracle documentaton is your friend.

    The doc of the SQL language treats the SQL data types.

    http://docs.Oracle.com/CD/B28359_01/server.111/b28318/datatype.htm

    The doc PL/SQL does PL/SQL data types. Because PL/SQL is a language of proceedings (and sql is NOT) there are several types of data, as shown in this doc, PL/SQL-specific:

    PL/SQL scalar data types are:

    • SQL data types
    • BOOLEAN
    • PLS_INTEGER
    • BINARY_INTEGER
    • REFCURSORexplained in "Cursor Variables"
    • User-defined subtypes

    ALWAYS start with the Oracle documentation for these fundamental questions.

    Several times, as with this question, the question is too general to give a simple answer.

  • How can I change several download Sierra systems

    How can I change several download Sierra systems?  I have a Mac mini end of 2012 running El Capitan, over a mid-2010 Mac mini and MacBook Pro mid-2010 the two race Yosemite with limit of bandwidth on my internet connection and want to update all three systems in one download.  Is the process that apply with Yosemite and El Capitan (ie. Copy the Setup program to another location before you run it on the download system) still the way forward?  Thank you.

    You can do this or DiskMaker X allows to create a key to install it.

    (145170)

  • How can I change the tags on my post on the support forum?

    My recent post ('start failure after firefox 12.0...') has been marked as a post on Firefox 3.6, but it was a post about a problem with Firefox 12.0. My problem is that Firefox 12.0 would not start once it has been installed. I had to re - install Firefox 3.6 to write the post. Now, the message is marked as a pole of Firefox 3.6. The same problem occurred last month when updating Firefox 11. I would like to remove the current tags and replace them with Firefox 12.0.

    How can I change the tags on my post?

    Added: this post has the same problem.

    I removed the tags in Firefox 3.6 and added the tag Firefox 12.0 to that thread instead.

  • Can I use several adapters to convert a Firewire 400 in Thunderbolt connection?

    I have a firewire 400 device I want to connect to a Thunderbolt connection.  Can I use several converters for first shot of firewire 400 and 800, and then use the Apple firewire 800 adapter Thunderbolt?  Otherwise, any other suggestions?

    Perhaps, but not all cards can work in tandem. But why waste time and money. A FW 400 device won't run any faster on Thunderbolt. Why do you need to do this, and do you have looked for a better solution?

  • Can I combine several old backups located on a portable hard drive in a backup on the same hard drive?

    Can I combine several old backups that are on a portable hard drive in just a backup with all the files, but no duplicates on the same hard drive?

    How did you create these backups?

  • How can I delete several images in the Finder at the same time

    How can I delete several images in the Finder all at once rather than one by one

    Click on an image and the successive images to press the SHIFT, or command key by clicking on the image to add it to the selection. Then Ctrl-click (tap two fingers) on any icon and choose to put in the trash. If the icons are in an easily selectable column or online, you can click on the window that contain, and then drag around them for a multiple selection.

  • How can I delete several clips at once from the timeline

    How can I delete several clips at once from the timeline?

    Thanks, Dan

    Shift-click or command-click to select if they are contiguous. Then press the delete key.

    Or select them and use the keyboard shortcut command + X.

    Or select them in the Index of the Timeline and use the key DELETE or command + X.

    Russ

  • How can I create several rectangles with a draw rect.vi

    How can I create several rectangles with a fire rect.vi? Thank you

    Like this...

    -DP

  • How can I register several OCX files at the same time

    How can I register several OCX files at the same time. OCX depending on the application files are stored in a network location, IE. R:\HR\whatever\whatever\*. OCX instead of manually record each ocx file, I would be with a simple batch file or an automated script. Anyone have any good ideas?

    Hi James,

    The Microsoft Answers community focuses on the context of use. Please join the professional community of COMPUTING in following the link MSDN forum

    http://social.msdn.Microsoft.com/forums/en-us/categories

  • How can I delete several photos in my photo folder once

    How can I delete several photos at once in my photo file?

    Hello

    • Click on the first image you want to delete
    • Select other images to be deleted by pressing Ctrl and clicking on them
    • Click with the right button on a selected image to remove and then click on remove

    Tricky

  • How can I store several sentences and insert without typing?

    How can I store several sentences and insert without typing?

    http://www.colorpilot.com/TypePilot.html

  • How can I add a tag to a shortcut?

    How can I add a tag to a shortcut?

    Win 8

    I know how to add a tag to a file, but a shortcut dosnt seem to accept, how do I add a tag to a shortcut?

    If it dosnt accept, what im trying to do is organize my games giving them tags for genre/s (games will be more than 1 type)

    Shortcuts do not have the ability to store the metadata of the tag.  Maybe you could just name differently or use folders.

  • Can we have several independent star schema in layer of MDB in OBIEE?

    Hi friends,

    I need to create four reports based on four star schema, so we have 4 tables of facts and independent sides associated with each, all the tables are in the same data source, I have to design RPD and I have a few questions:

    • Can we have several independent star schema in a layer of MDB model? If YES then I guess we can create a domain for each in the presentation layer, but if NOT then do we create a separate business for each star schema model?

    Early response will be appreciated, thanks.

    Hello

    The rule is simple:

    1 topic-online 1, 1 business model business model => N areas

    This is the limitation.

    So YES you can have have 4 independent stars in a single MDB, YES you can have 4 domain of the same MDB.

    The point is more in what you want your RPD to looks like planning: there are people who are trying to have a limited number of MDB and so they put in allmost all their stars even MDB, others MDB business sense, so if 4 independent stars means they have 4 different meaning that it would create 4 MDB.

Maybe you are looking for

  • House-sharing has stopped working with all that, please help.

    Today is December 18, 2015. Sharing House had stopped working a few months ago. I called support and they went well a lot of things and finally said: "No, it will never work." I insisted on the conversation with someone else, they me connected. He do

  • IMAQ usb capture and record avi format

    I installed the ni_imaq_usb_installer_86.exe and I tried to run this VI (86 Grab and save USB LabVIEW vi) but it does not work. The error is that error-1074395986 occurred at IMAQ AVI file format create invalid. Should I supposed to do?

  • SP2 constantly trys too back then restart endless cycle of computer

    OK I downloaded the manual update of the sp2 to vista recently and tried to install it too it looked like this was very well done a reboot installation finished and pops up saying "service pack do not have. "changes in recovery please don't turn off

  • Keyboard does not work after installing Vista

    I loaded window vista and since my keyboard does not work, tried unistalling with no luck. who can help?

  • HP Pavilion p6774y - recovery disk problems

    Hello I just receive purcashing House a new SSD for my HP Pavilion p6774y, when I met with this problem. Im trying to do the new SSD as main hard drive, it should be a nice update for this, but the recovery won't let me go ahead because its detecting