Can someone verify the attached XML schema

I recently started working on XML and I am creating an xsd for the following sample xml
<?xml version="1.0" encoding="UTF-8"?>
  <Student>
    <Student_Data>
       <name>John</path>
       <age>25</module>
       <Roll_No>1</coulmnname>>
    </Student_Data>
    <Student_Data>
       <name>mary</path>
       <age>26</module>
       <Roll_No>2</coulmnname>>
    </Student_Data>
  </Student> I created the following schema for the above XML
<?xml version="1.0" encoding="UTF-8"?>   
  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">   
   <xs:simpleType name="stringtype">   
      <xs:restriction base="xs:string"/>   
   </xs:simpleType>   
   <xs:complexType name="CommonData">   
     <xs:sequence>   
       <xs:element name="name" type="stringtype"/>   
       <xs:element name="age" type="stringtype"/>   
       <xs:element name="rollnumber" type="stringtype"/>   
     </xs:sequence>   
   </xs:complexType>   
   <xs:complexType name="student_list">   
     <xs:sequence>   
       <xs:element name="Student_Data" maxOccurs="unbounded" type="CommonData"/>   
     </xs:sequence>   
   </xs:complexType>   
  <xs:element name="Student" type="student_list"/>   
</xs:schema>  Can someone look at it and let me know if this is the right schema for the above sample xml?
I am not sure if I used the "student_list" in a right way.

Are you doing this by hand? Don't. It's much easier to use a tool, e.g. XMLSpy, or an IDE plugin.

Similar Messages

  • Can someone verify the following regarding Find My Phone:  I assume the lost device (iPhone) and the device (ipad) one is using to find the lost item must have the identical Apple ID, Apple PW, and iCloud PW and username? Otherwise it won't work?

    Can someone verify the following regarding Find My Phone:
      I assume the lost device (iPhone) and the device (ipad) one uses to find the lost item must have identical Apple IDs , PWs as well as identical iCloud identification?

    Back now.  Are you saying that you entered you iCloud ID and password in the Find My iPhone app (see photo below), and it said you don't have an iCloud account?  Are you sure this is the ID for your iCloud account (check Settings>iCloud next to Account at the top on the device you are trying to track)?
    Also, did you try using this ID and password on icloud.com on your computer to try to track it, as explained here: http://help.apple.com/icloud/#mmfc0f2442?  Did that work?

  • Can someone explain the attached Finder screenshot

    Hi,
    I have a Macbook Pro, just for home use. I noticed this 'Shared' access in Finder recently. It could have appeared after linking a new GPS device I got via a USB cable although it still appears without this being connected and after re-booting.
    I'm concerned over the security of my machine - does it mean someone has access to my Macbook Pro? I can't find any way to break the connection.
    Would appreciate if someone can advise.

    Do you have a networked HP printer?  The machine name that shows up under Shared looks very much like a default name for an HP printer (hp followed by the printer's network hardware address).
    If you don't have such a printer, it's possible that your MacBook Pro was recently connected to a wireless network that had an HP printer connected.  In some cases, OS X caches the names of devices that it has discovered on a network.  A restart, or waiting several days, might clear it.

  • Error --can not load the specified XML or schema source

    HI All
    I am facing a problem while creating a xml maps connection. i am using ms excel 2007 and xcelcious 2008 engage. when i am trying to create a xml maps connection and give my url then open then give my user id and password its says  can not load the specified XML or schema source..  
    my url is working fine when i open it through internet explorer. 
    anything i  miss somewhere?
    please help.
    Regards
    Amiya

    Hi Guys
    This is solved i removed <?xml version="1.0" ?>  from top and buttom
    then it worked fine.
    Regards
    Amiya

  • Extending the Resource XML Schema XDBResource.xsd

    Hi,
    Is anybody could share an expirience about extending
    the Resource XML Schema XDBResource.xsd ?
    I want to use XML DB as document repository.
    I want to use some application parameters (for
    example document varchar id and so on) as resource
    properties. I read from Oracle documentation, that
    one way is to extend the Resource XML Schema XDBResource.xsd.
    Users will put documents using WebDAV, so new schema
    should be used default instead of XDBResource.xsd.
    Is it possible ?
    Thanks in advance
    Viacheslav

    Thos is an error in the documentation. Extending the Resource Schema is not currently supported. We are considering this for a future release of the product. XML DB does allow small amounts of user defined meta data to be added to a Resource.....
    For Instance Given the following package
    create or replace package xdb_namespaces
    as
    RESOURCE_NAMESPACE constant VARCHAR2(128) := 'http://xmlns.oracle.com/xdb/XDBResource.xsd';
    METADATA_NAMESPACE constant VARCHAR2(128) := 'http://xmlns.oracle.com/xdb/userMetaData';
    RESOURCE_PREFIX_R constant VARCHAR2(128) := 'xmlns:r="' || RESOURCE_NAMESPACE || '"';
    METADATA_PREFIX_M constant VARCHAR2(128) := 'xmlns:m="' || METADATA_NAMESPACE || '"';
    end;
    select * from all_errors where owner = 'XDB'
    create or replace public synonym XDB_NAMESPACES for XDB_NAMESPACES
    grant execute on XDB_NAMESPACES to public
    The following procedure can add metadata to the ANY defined by the current resource Schema
    procedure addUserMetaDataNode(OID varchar2)
    as
    metadata_xml XMLTYPE := XMLTYPE('<m:UserMetaData ' || XDB_NAMESPACES.METADATA_PREFIX_M || '/>');
    begin
    update /*+ NO_TRIGGER */ XDB.XDB$RESOURCE r
    set r.xmldata.RESEXTRA = metadata_xml.getClobVal()
    where sys_nc_oid$ = hextoraw(OID)
    and existsNode
    object_value,
    '/r:Resource/r:Contents',
    XDB_NAMESPACES.RESOURCE_PREFIX_R
    ) = 1
    and existsNode
    object_value,
    '/r:Resource/m:UserMetaData',
    XDB_NAMESPACES.RESOURCE_PREFIX_R || ' ' || XDB_NAMESPACES.METADATA_PREFIX_M
    ) = 0;
    end;
    Note that this is not a SUPPORTED method of doing this.. Once the UserMetaDataNode has been added additional metadata can be added using updateXML with an XPATH that targets the UserMetaData node.
    A Future release of XML DB will provide a facitlity to attach a row in a schema based XML table, containing user defined meta data to a resoure, in the same way that the defaultTable mechanisim allows the content of a resource to be stored in an XMLType table.

  • Safari can't verify the identity of the website.........

    So yesterday I removed one stick of memory and added another (larger) stick of memory. This is the only thing I have done latly. I had surfed the net after changing ram and nothing seemed wrong. Today when I go to log in to my e-mail I get the warning that "Safari cant verify the identity of the website........" Found it a little odd. I went to another website where I am always logged in however this time I wasn't. When I clicked on the login button the safari warning appeared again. I checked two other sites that I frequent and am always logged into except now I'm not. It even appeared when I logged in to post this queston. Is this something to worrie about? Is there an virus or spyware I could have picked up somewhere? Is this a security issue? what's the problem? This is just too weird and I'm a little paranoid anyways.

    Hello Linc,
    April 13, 2015
    For years you've been a most valuable asset to me here at Apple.Com.
    I REALLY wish I could speak with you on the phone, because this is a little heavy.
    But for now I am TRYING to find the instructions/article that appears when you click the question mark "?".... that appears at the bottom of the drop down message which reads as follows....To see an image of it...the scroll halfway down and someone named WildBill posted an image of the drop down that is associated with the subject of this thread.....One of the 2 links below will show you a picture of the drop down and question mark.
    FIX for: "Safari can't verify the identity of the website" - certificate not valid
    Below is something that may or not be relative....but I just wanted you to see a photo of the drop down warning,...I think the one ABOVE is the one....the one below I'm not sure.....I am so tired right now.
    https://discussions.apple.com/thread/6983714?start=15&tstart=0
    Below is an article apple sent me but this is not what I was looking for
    OS X: Keychain Access asks for keychain "login" after changing login password - Apple Support
    There is a question mark that when you click on it sends you to an article/instructions on the side telling you what to do, but since I no longer get this pop up I can't find THAT article/instructions.
    I'm pretty sure the headline of the article read something like this.
    "What to do if Safari can't verify a security certificate as valid".....something like that.
    The reason I need to see those instructions again is I need to retrace my steps to make sure I didn't make a mistake when I was in Keychain Access.
    I called Apple and they didn't seemed interested in helping me.
    Perhaps you can.
    Thanks Linc,
    Apple Dreamer
    P.S....How do I know if you respond to this?.....Should of I left my phone number or email address?

  • I accidentally in put the wrong email address when attempting to register with iCloud. As such, I can't verify the account with that email address because it does not exist. What should I do?

    I accidentally input the wrong email address when attempting to register with iCloud. Therefore, I can't verify the account because the email address that I accidentally used does not exist. Can someone help me figure a way out of this because there does not appear to be a way to edit the email address?

    try https://appleid.apple.com... enter the new icloud id, and try to edit the email address assocaited.

  • Safari keeps dropping down this error message when ever i try to log on to any website safai can't verify the identity of the website ( e.g.. any address ) and the drop down has three choices to click on or else you can't go foward., they are check certif

    Safari keeps dropping down this error message when ever i try to log on to any website safai can't verify the identity of the website ( e.g.. any address ) and the drop down has three choices to click on or else you can't go foward., they are check certificate ______ cancel ______ continue....  This thing is so annoying when trying to go somewhere i just want the error message to go away.

    In your Keychain under 'login' delete the VeriSign certificates and then quit and restart all browsers/itunes/app store.
    http://apple.stackexchange.com/questions/180570/invalid-certificate-after-securi ty-update-2015-004-in-mavericks

  • I can't open the attachment to a mail. I must open it i FileApp. but it says that there no App installed that open this type of file. What can I do? I've got iPad 2, version 4.3.3 (8J2) My age: 69 and not so good at computers.

    I can't open the attachment to a mail. When I'm trying to open it in FileApp, I get the answer: "FileApp doesn't recognise
    this file type.Would you like to try to open in.....
         another App
         as text file
         cancel
    When I open it it in another App I get the answer:"there are no application installed on your device that can open
    this type of file.
    When  I open it as a text file, it's loading and loading.....forever?
    What shall I do?
    PS I'm 70 and not good at computers

    Hello Mats in Sweden!
    I'm from Austria, not so far away! The file that you've received seems to be a Windows Media File and you may need a special software for your iPad to be able to open it. I've found something HERE.
    If you open this link on your iPad it should take you to the App Store, resp. open it. The price for this app is 1,59 €.
    Greets from Vienna,
    Bärbel

  • Safari can't verify the identity of website. What to do?

    I am getting a "certificate invalid" message using Safari on a number of sites, including my bank, Apple iTunes, insurance company, and many others.   The message is: "Safari can't verify the identity of the website (then the specific site is named)". I have spoken with my bank and they say it is an issue with Safari and I should try another browser.  I tried Firefox and the connection to the sites is perfect, no issues or warnings at all.  What is wrong with Safariu and what, other than stop using it, can be done to correct the certificate issue?

    Back up all data.
    Unlock the Network preference pane, if necessary, by clicking the lock icon in the lower left corner and entering your password. Cllck Advanced, open the DNS tab, and change the server addresses to the following:
              8.8.8.8
              8.8.4.4
    That's Google DNS. Click OK, then Apply.
    In Safari, select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. If you’re using another browser, empty the cache. Test. Any difference?
    Notes:
    1. If you lose Internet access after making the above change to your network settings, delete the Google servers in the  Network preference pane, then select the TCP/IP tab and click Renew DHCP Lease. That should restore the original DNS settings; otherwise restore them yourself. Remember that you must click Apply in order for any changes to take effect.
    2. I don't use Google DNS myself, though I have tested it, and I'm not recommending it or any other DNS provider; the server addresses are offered merely for testing purposes. There may be privacy and technical issues involved in using that service, which you should investigate personally before you decide whether to keep the settings. Other public DNS services exist.

  • Can someone explain the use of a hashtable in java?

    can someone explain the use of a hashtable in java?

    Hashtable allows us to store values along with keys.
    One other advantage is, it provides Synchronised methods.
    Hope you got it.

  • Can someone explain the hyperthreading settings in cmos (the 4x,5x, etc.)?

    Someone once said admitting you don't know something is the first step on the road to knowledge....or something like that 
    Can someone explain the hyperthreading setting in the CMOS Setup - mine is set to 5x, which I think is correct for my cpu - Venice 3500+, but I don't really know what it does.  What does that setting affect?  I think it was 4x by default, until I loaded optimal settings, and it went to 5x.....

    HT = Hyper Transport
    Q: What is HyperTransport™ technology?
    A: HyperTransport™ technology is a new high speed, high performance point-to-point link for interconnecting integrated circuits on a motherboard. It can be significantly faster than a PCI bus for an equivalent number of pins. HyperTransport was previously codenamed Lightning Data Transport, or LDT. HyperTransport technology was invented by AMD and perfected with the help of several partners throughout the industry. It is primarily targeted for the IT and Telecomm industries, but any application where high speed, low latency and scalability is necessary can potentially take advantage of HyperTransport technology. HyperTransport technology was invented in order to unleash the tremendous power of the AMD microprocessors. HyperTransport is planned to bring the computation experience to a  new level.
    Hyperthreading Technology used by Intel.

  • Can someone explain the difference between width, maxWidth, explicitWidth, explicitMaxWidth?

    Can someone explain the difference between width, maxWidth,  explicitWidth, explicitMaxWidth of the UI component? I read the API and I  have no idea what do they mean.

    Width is the current width.  ExplicitWidth is set if you give an component
    an explicit width vs a temporary width via setActualSize.
    MaxWidth and minWidth factor in either the measuredMax/MinWidth or one set
    explicitly.

  • Cffunction and how to ? can someone explain the code to me line by line

    Hello i went to get this online and i want to test it.
    the udf is supposed to
    * CSVFormat accepts the name of an existing query and
    converts it to csv format.
    * Updated version of UDF orig. written by Simon Horwith
    my question how to break it down.
    can someone explain the code to me line by line
    thanks

    silviasalsa wrote:
    > thanks
    >
    > but line by line
    >
    > what is
    > if(ArrayLen(Arguments) GTE 2) qualifier = Arguments[2];
    > if(ArrayLen(Arguments) GTE 3 AND Len(Arguments[3]))
    columns = Arguments[3];
    > returnValue[1] = ListQualify(columns, qualifier);
    > ArrayResize(returnValue, query.recordcount + 1);
    > columns = ListToArray(columns);
    > for(i = 1; i LTE query.recordcount; i = i + 1)
    > {
    > rowValue = ArrayNew(1);
    > ArrayResize(rowValue, ArrayLen(columns));
    > for(j = 1; j LTE ArrayLen(columns); j = j + 1)
    > rowValue[j] = qualifier & query[columns[j]]
    & qualifier;
    > returnValue[i + 1] = ArrayToList(rowValue);
    > }
    > returnValue = ArrayToList(returnValue, Chr(13));
    > return returnValue;
    > }
    >
    > thanks
    Apparently this UDF takes two optional parameters so that one
    can define
    (A) a text "qualifier" to use in the CSV file, this is
    usually the
    single quote|tick ['] mark - but sometimes one wants this to
    be a
    different character and (B) what columns to use in the
    output in case
    one does not want to use all the columns in the record set
    in the
    outputted CSV file.
    The if statements are checking for these optional parameters
    and if
    found setting the values in them to internal variables.
    These
    variables are then used in the rest of the logic to create
    the CSV output.
    HTH
    Ian

  • Why I can't import the sidecar.xml anymore?

    For more than 1 year I used sidecar.xml generator for write the titles of the articles and the export/import in every different size of each issue of my magazine. To import I chose "import multiple articles" and chose the sidecar.xml folder.
    Now with the latest update this seem don't work anymore and it's a HUGE problem for me and I think for many others. I read about this new path-based sidecar.xml files but I don't need it, I want to use the old way to import my xml that worked fine.
    On your release notes: "There are now two different methods for using sidecar.xml files to import articles. The classic sidecar.xml workflow is still supported—the sidecar.xml format and workflow remains unchanged." and then why I can't import anymore the sidecard generated from sidecar.xml generator?

    Hi Bob,
    I’m Tyler. I have the same problem of ‘can’t import the sidecar.xml’.
    I did some work as the metrosur provided on the top:
    • Write the titles in the xml files (manually or using sidecar generator)
    • Copy the xml file (without folder) in the main folder with all other indesign folders
    • Upload all directly to Adobe servers
    But there was a new issue happened that can’t order article automatically
    Could you give me some help about a few questions?
    1) I saw your workaround in comments, but I can’t try this way for the moment.
        I want to ask that can solve this order problem?
    2) Do you know what time is this problem will be resolve because it’s very important to me.
        When this issue resolved, can you announce it in the comments or others?
    I would very appreciate for your help.

Maybe you are looking for

  • How to configure for servlets

    i m new to servlets. can any body plz tell me what and how to do configurations for servlets

  • How do you add small number references (like footnote numbers) in Keynote

    Hi, I want to number various points in the text – 1, 2, 3, etc and will reference them on the last page. I can't find those little numbers.

  • How to install Flex 3.4 add on?

    I have added SDK 3.4 to my IDE (working fine) but to activate visualization component I have to install 3.4 add-on. But how to install add-on that information I am not getting from Adobe or any other blog. I have tried installing add-on  by unzipping

  • DNS TROUBLE

    DNS Seems to have stopped working, everything was working fine, and yesterday ijust cant connect to my server using its name but only ip address, i check the dns with server admin and dns was green but not configured, lost all my dns machines. i had

  • Aperture 2 and Keywords

    Does anyone have any information regarding any changes or enhancements in the way that Aperture 2 handles keywords. Have there been any upgrades with this feature. For example, I have frequently wanted to be able to conduct an hierarchal keyword sear