Please help me to form a xschema for this data

basically my xml would contain callername,callerpassword,username,password,id as data.
1)All the data input can only be strings.
2)callername and callerpassword is always mandatory(required).
valid options
1)xml can contain callername,callerpassword,username,password
2)xml input can be callername,callerpassword,guid
3)xml input can be callername,callerpassword,username,password,guid.
Any thing other than that is invalid xml for me can anyone help me generate xschema for this data

here you go:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
     <xs:element name="callername" type="xs:string"/>
     <xs:element name="callerpassword" type="xs:string"/>
     <xs:element name="data">
          <xs:complexType>
               <xs:sequence>
                    <xs:element ref="callername"/>
                    <xs:element ref="callerpassword"/>
                    <xs:choice>
                         <xs:sequence>
                              <xs:element ref="username"/>
                              <xs:element ref="password"/>
                         </xs:sequence>
                         <xs:choice>
                              <xs:element ref="guid"/>
                         </xs:choice>
                         <xs:sequence>
                              <xs:element ref="username"/>
                              <xs:element ref="password"/>
                              <xs:element ref="guid"/>
                         </xs:sequence>
                    </xs:choice>
               </xs:sequence>
          </xs:complexType>
     </xs:element>
     <xs:element name="guid" type="xs:string"/>
     <xs:element name="password" type="xs:string"/>
     <xs:element name="username" type="xs:string"/>
</xs:schema>

Similar Messages

  • HT201328 my iphone 4G buy from japan, i need to use in indonesian, please help me, i spent much money for this phone.....

    my iphone 4G buy from japan, i need to use in indonesian, please help me, i spent much money for this phone.....

    froggy_vic wrote:
    so even if your phone is unlocked you wouldn't be able to use it anywhere else.
    Absolutely not true. There is no difference, spec wise, between the iPhone sold in Japan & the GSM iPhone sold everywhere else. iPhones in Japan use UMTS 2100.

  • Please help me in finding the solution for this query

    Hi Experts,
    How could i print column name's second word in next line
    suppose am taking ename alias as "employee name"
    i want to print the second word "name" in next line
    like
    "Employee
    Name"
    Whats the way of writing this query
    Please help me out
    Thanks in Advance

    Hi,
    914618 wrote:
    WITH mydata AS
    SELECT 1 emp_id, 'John Smith' emp_name FROM DUAL UNION ALL
    SELECT 2 emp_id, 'Steve Jobs' emp_name FROM DUAL UNION ALL
    SELECT 3 emp_id, 'Larry Allison' emp_name FROM DUAL
    SELECT emp_id, emp_name
    FROM mydata;
    after executing the above query the o/p I am getting is in the normal format like EMP_ID and EMP_NAME
    not according to my requirement like
    Emp Emp
    Id NameWhat are the results you reaally want? Do you want this?
    `   EMP_ID SPLIT_NAME
             1 John
               Smith
             2 Steve
               Jobs
             3 Larry
               AllisonIf so:
    SELECT  emp_id
    ,      REPLACE (emp_name, ' ', CHR (10))     AS split_name
    FROM      mydata
    ;The results above are 3 rows, not 6.
    What results would you want if emp_name contained 3 or more words? For example, if you add this to the sample data:
    SELECT 9 emp_id, 'Aung San Suu Kyi' emp_name FROM DUAL UNION ALL

  • Please help me to write a function for this requirement!

    Hi,
        I have created a stored procedure which accepts 2 input parameters (param1 & param2 ) and its output is 'Score'
    Eg:
    Exec uspScorecalculation StudentID,DeptID 
    output: 85
    Now, My requirement is , I want to populate this value as one of the columns in a 'Select' statement.
    Can you please give me some input like how can i write a funtion to retrieve this score from the procedure and use it in the select statement?
    I assume,  the funciton should pass the two parameters into the stored procedure 'uspScorecalculation'  and retreives the Score.
    Can you please help me on this?
    thanks!

    >> I have created a stored procedure which accepts 2 input parameters (param1 & param2 ) and its output is 'Score' <<
    We have no idea from this posting what this procedure does. No code. No spec. Only a vague, useless narrative. 
    We do not put that silly “usp_” prefix on a proc name; this is one version of tibbling. When we wrote in FORTRAN I and II, we had to put “fn_” on user functions name. A procedure uses a “<verb>_<object>” format. Have you read ISO-11179 Standards
    or any book on data modeling?  
    EXEC Calculate_Something_Score student_id, dept_id; 
    >> Now, My requirement is, I want to populate this value as one of the columns in a 'SELECT' statement. <<
    Populate a column? We do not do that in a declarative language like SQL. The row with that column comes into existence all at once, and all the rows in the table come into existence all at once. This is a set-oriented language. 
    >> Can you please give me some input like how can I write a function to retrieve this score from the procedure and use it in the SELECT statement? <<
    NO! An SQL programmer will take the body of the procedure and replace the parameters with column names. It will be part of a SELECT statement and not a function call. We hate UDFs and other procedural constructs. 
    Please post the code and DDL, if you want help. Your failure and rudeness in not following Netiquette only hurt yourself. Your mindset is still locking into 1960's FORTRAN, not SQL. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Please help me 2 find a Document for this jar file com.sap.workflow_api

    HI,
    I want to create a task in UWL using web dynpro application. For this I need to import the specified com.sap.workflow_api.jar jar file.
    This jar file is in our WEB AS Server
    path=
    server\c\usr\sap\W01\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.workflow.apps\lib
    I have browsed all over for a good document , i got just one link :
    http://help.sap.com/saphelp_nw70/helpdata/EN/46/94b9b2b321581ce10000000a1553f7/frameset.htm
    Could you help me out with a better document for This task and  I want the complete document for this particular jar file com.sap.workflow_api.jar.
    It wolud be very helpful if I could get it at the earliest.
    Regards,
    Boopathi M

    HI Ayyapparaj,
    I have converted my project to javadoc,but i don't get any document for specific class. only I got what ever method is avilable in our controller that corssponding method come over in the java doc.
    How can i get the document for specified IWorkflow interface ? this com.sap.workflow_api jar file has IWorkflow interface. I need to know how to use this IWorkflow interface.
    How to use javadoc tool ?
    Regards,
    Boopathi M

  • Please help. Text fields launch email for XML data

    Let me start by saying I have only been using LiveCycle for two days. I did buy a book and have exhaustuvley searched for a solution....with that said....
    After completing almost the entire form, somehow or other I managed to make all the text fields but one initiate email of xml data as soon as you try to type in them in PDF preview or reader or pro.
    I added a new text field for test and it does NOT do the same thing. I can't for the life of me figure out how to turn this off.
    Issue:
    When checking pdf preview, if I click inside a text field to type, it stops the preview and launches an email window with a blank XML file. It does the same thing if I open the file in Reader or Pro.
    Solution I am looking for:
    My form is nearly complete and i would hate to have to start all over. Basically, I do NOT want the text fields to initiate an email of the form data. I just want the user to be able to type in them as required. In my opinion this should only happen with the "email form" button.
    Thanks,
    Joe
    [email protected]

    funny, i found a workaround. after nearly 3 hours and finally posting here, in 15 minutes i found something. I still would like to know
    what caused this if anyone knows.....
    Fix:
    By selecting the text field and changing object type to "Text" then changing it back to "TextField" then save, it now works fine. Of course I had to do it on all 25 fields but way better than redoing all the custom fields i created.

  • Please help me figure out the reason for this error

    Hello I am trying to run the jar Gui file I got from http://www.cs.cmu.edu/~cmucam/cmucam2/downloads.html
    and am getting the following error:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no sserial in java.li
    brary.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at serialPort.<clinit>(serialPort.java:22)
    at SerialComm.<init>(SerialComm.java:50)
    at CameraSerial.<init>(CameraSerial.java:64)
    at MainWindow.<init>(MainWindow.java:620)
    at CMUcam2GUI.main(CMUcam2GUI.java:7)
    Can anyone figure out why I am getting this error? I am running it on a windows xp professional system.

    Yes you need the sserial native library (and no I do not know where to get it).

  • PLEASE help!! I use Outlook for my email and the Mail App Icon in my dock was also storing all my emails. So, I tried to delete ONLY the emails in the Mail App but somehow (under Preferences maybe?) I also deleted all my emails in my Outlook inbox.

    PLEASE help!! I use Outlook for my email and the Mail App Icon that is in my dock, that I know nothing about, was also storing all my emails. So, I tried to delete ONLY the emails in the Mail App but somehow (under Preferences maybe?) I also deleted ALL my OUTLOOK emails in my inbox.  Can someone please please tell me if there is a way to get my Outlook inbox emails back OR EVEN the emails that were in my Mail app - because even tho I never use the Mail app, at least the emails would be there.
    When I was trying to delete the emails in my inbox for the Mail app - I followed THESE directions.  It did in fact clear my inbox for the Mail app.  But then I went to log on to my Outlook account and EVERY SINGLE EMAIL was gone.  And not in the Deleted box.  Just gone.  Here are the directions I followed that screwed everything up.  Please help.
    Top menu bar, Mail > Preferences > Accounts > Mailbox Behaviors.
    Uncheck "Store deleted messages on the server".
    At the drop list for "Permanently erase deleted messages when", choose "Quitting Mail".
    Next...
    Top menu bar, Mail > Preferences > General.
    At "When searching all mailboxes, include results from", uncheck "Trash".
    Select All = command A

    i found out my prob!
    here is what you do.
    go to the "system preferences" on your dock.
    click "software updates".
    click "installed software"
    if it shows something about a recent update about "EFI UPDATE, FIRMWARE, THUNDERBOLT" or anything like that, exit out of it.
    go to mail.
    click "mail" at the top.
    click "preferences...".
    find the account you are having trouble with, once you do, make sure its highlighted, then click the "-" at the bottom of the window (this will only effect that mail account, it will not effect your ical weather or not its synced thought that email account)
    hit the "+" (right next to the "-") and add your accout back!
    its something with that update that effected mail, i hope this works out for you, if not reply back

  • Can a one please help me turn off auto play for Facebook the option is no longer in my  General settings  why is this ?

    Can a one please help me turn off auto play for Facebook the option is no longer in my  General settings  why is this ?

    And yet the link you posted only tells you how to do it on the Facebook App for Android. Nothing about the Facebook page is mentioned at all, or how to do it on an iPhone.
    With that said, and assuming you have the most up to date version of the Facebook App, you can now turn the auto play feature Off within the Facebook App itself.  Tap on the "More" icon on the bottom right, then scroll down to Settings->Videos and Photos->Auto Play. If Smart auto-Play is on turn it off. Then you can set the check mark on "Never Play Videos Automatically" which is the same as Off.

  • I have downloaded Photoshop Elements 12.  When I doubleclick on icon, it says that sign in is required.  I click sign in and it says I am not connected to the internet. Please help!  I've been trying for 3 days.

    I have downloaded Photoshop Elements 12.  When I doubleclick on icon, it says that sign in is required.  I click sign in and it says I am not connected to the internet. Please help!  I've been trying for 3 days.

    Sign in, activation, or connection errors | CS5.5 and later

  • HT201441 Please help me I forgot the password for iclaud I can not open the device I want a solution "

    please help me i forgot the password for my iclaoud  i can not open my the device

    Try to reset your password here: http://appleid.apple.com

  • Please help me with msi installer file for 11.6.8.* as this is our standard version which we use for all machines in our organization

    please help me with msi installer file for 11.6.8.* as this is our standard version which we use for all machines in our organization

    arai-c wrote:
    I have full version of this software but I am not able to install it silently because it always gives Google toolbar pop up which We dont required
    arai-c wrote:
    the problem is we dont have msi file for 10.6.*.* and hence I am not able to create package for it
    I don't understand; two days ago you wrote that you have it, now you don't...?
    If you don't have it, then why not deploy the current version 12.1.3.153 - I don't see the point of installing an old, unsecure software version.

  • HT201412 my phone was charging and then it wouldnt turn back on and the lock button is jammed so i cant really do anything. please help me, i havent had it for very long.

    My phone was charging and then it wouldnt turn back on and the lock button is jammed so i cant really do anything. Please help me, i havent had it for very long.

    i put that i held down the home button and all that... sorry, should of made my message a little clearer hun.. but i did try that, ive been searching video's on the net trying to figure out how to fix the problem, but nothing seems to be working... ive just tried pluging the usb lead into my phone while holding the home button then connecting it to my computer to see if itunes fires up, but even that didnt work... i dont know what else to try.

  • Please help me to find the table for fields where the descriptions are give

    please help me to find the table for fields where the descriptions are given below
    Customer Support Administrator
    first line Support indicator

    You could also try table DD01T. In se 16,put in the description thats needed,you will get to know the respective data elements.
    Then you can use DD03L to find the respective table. This would work if the data element is not generic.
    Regards,
    Anubhav.

  • I have updated my phone to 4.3.3 and I was told there would be more bells and whistles. I haven't found more texting sounds. Have I updated my phone wrong or just not completed it all the way? Please help me. Still trying to figure this iphone 3G out.

    I have updated my phone to 4.3.3 and I was told there would be more bells and whistles. I haven't found more texting sounds. Have I updated my phone wrong or just not completed it all the way? Please help me. Still trying to figure this iphone 3G out.

    You have the iPhone 3GS, not the 3G. The last update to support the iPhone 3G is 4.2.1.
    iOS 4.3.3 includes bug fixes etc. There is nothing really special about this update that wasn't introduced in iOS 4.3. iOS 5 is the one to wait for - it will be released in the Autumn/Fall and includes over '200' new features/improvements.
    The additional text tines and ringtones were an iPhone 4-only feature.

Maybe you are looking for

  • [Solucionado] Arch no devuelve la screen despues de una larga

    Hola foro, despues de un tiempo de inactividad Arch es como que a la screen la tiene dormida eternamente, toco el mouse o algunas teclas del teclaado y no hay forma de que vuelva la screen. Los discos estan andando, internet esta andando, dejo la PC

  • Enterprise Portal DC Migration Issue into 7.31

    Hi Experts, I have created one Enterprise Portal DC created in 7.0 into 7.31. After creating it is building successfully using deprecated dependencies. I need to resolve those dependency before deploying into 7.31 server? For the Enterprise Portal DC

  • Datagram socket reads its own output?

    If I use a DatagramSocket to broadcast UDP packets, and also use the same DatagramSocket to try and read broadcasts from other hosts, it looks like I also end up reading back in all the packets that I broadcasted which creates a really messy situatio

  • BDC to run in foreground using session method.

    Hi, Can you please let me know how to run the BDC session in foreground using RSBDCSUB. Presently i am using the following code for RSBDCSUB. submit rsbdcsub with mappe eq gc_bdcname                          with Z_VERARB EQ 'X'                      

  • IOS 7 flagged mail won't clear

    Just updated to 7. The flagged message count is wrong. Seems like it is still counting flagged messages that have been deleted. Is there a way to clear the count?