Results 1 to 8 of 8

Thread: what is...?

  1. #1
    Join Date
    Oct 2008
    Posts
    1,267
    Rep Power
    0

    Default what is...?

    What is XML Schema? Give an example of it?

  2. #2
    Join Date
    Apr 2009
    Posts
    553
    Rep Power
    0

    Default Message

    chema is a way to describe and validate data in an XML environment.What do you mean by give example of it?

  3. #3
    Join Date
    Oct 2008
    Posts
    1,267
    Rep Power
    0

    Default Re: Message

    Quote Originally Posted by revvv1234
    chema is a way to describe and validate data in an XML environment.What do you mean by give example of it?
    Firstly its not "CHEMA" its "Schema" and proving a example means giving a sample code plz look at below.


    <?xml version="1.0"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

    <xs:element name="note">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="to" type="xs:string"/>
    <xs:element name="from" type="xs:string"/>
    <xs:element name="heading" type="xs:string"/>
    <xs:element name="body" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>

    </xs:schema>
    Thanks.

  4. #4
    Join Date
    Apr 2009
    Posts
    553
    Rep Power
    0

    Default Re: Message

    Quote Originally Posted by debasis
    Quote Originally Posted by revvv1234
    chema is a way to describe and validate data in an XML environment.What do you mean by give example of it?
    Firstly its not "CHEMA" its "Schema" and proving a example means giving a sample code plz look at below.


    <?xml version="1.0"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

    <xs:element name="note">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="to" type="xs:string"/>
    <xs:element name="from" type="xs:string"/>
    <xs:element name="heading" type="xs:string"/>
    <xs:element name="body" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>

    </xs:schema>
    Thanks.
    Thanks i know that example is like this only but got confused because some examples are too big.

  5. #5
    Join Date
    Oct 2008
    Posts
    1,267
    Rep Power
    0

    Default Re: Message

    Quote Originally Posted by revvv1234
    Quote Originally Posted by debasis
    Quote Originally Posted by revvv1234
    chema is a way to describe and validate data in an XML environment.What do you mean by give example of it?
    Firstly its not "CHEMA" its "Schema" and proving a example means giving a sample code plz look at below.


    <?xml version="1.0"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

    <xs:element name="note">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="to" type="xs:string"/>
    <xs:element name="from" type="xs:string"/>
    <xs:element name="heading" type="xs:string"/>
    <xs:element name="body" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>

    </xs:schema>
    Thanks.
    Thanks i know that example is like this only but got confused because some examples are too big.
    I didn't get you you have written "i know that example is like this only", you mean there won't be any other example available for xml schema?Sorry but there are lots of things we can do with it and lots of example we can make from this.
    Thanks.

  6. #6
    Join Date
    Apr 2009
    Posts
    553
    Rep Power
    0

    Default Re: Message

    Quote Originally Posted by debasis
    Quote Originally Posted by revvv1234
    Quote Originally Posted by debasis
    Quote Originally Posted by revvv1234
    chema is a way to describe and validate data in an XML environment.What do you mean by give example of it?
    Firstly its not "CHEMA" its "Schema" and proving a example means giving a sample code plz look at below.


    <?xml version="1.0"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

    <xs:element name="note">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="to" type="xs:string"/>
    <xs:element name="from" type="xs:string"/>
    <xs:element name="heading" type="xs:string"/>
    <xs:element name="body" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>

    </xs:schema>
    Thanks.
    Thanks i know that example is like this only but got confused because some examples are too big.
    I didn't get you you have written "i know that example is like this only", you mean there won't be any other example available for xml schema?Sorry but there are lots of things we can do with it and lots of example we can make from this.
    Thanks.
    Ya i know there are lot of things we can do.It's just that i did not want to type that much of exmple.Anyways i am working on it.Thanks.

  7. #7
    Join Date
    Oct 2008
    Posts
    1,267
    Rep Power
    0

    Default Re: Message

    Quote Originally Posted by revvv1234
    Quote Originally Posted by debasis
    Quote Originally Posted by revvv1234
    Quote Originally Posted by debasis
    Quote Originally Posted by revvv1234
    chema is a way to describe and validate data in an XML environment.What do you mean by give example of it?
    Firstly its not "CHEMA" its "Schema" and proving a example means giving a sample code plz look at below.


    <?xml version="1.0"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

    <xs:element name="note">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="to" type="xs:string"/>
    <xs:element name="from" type="xs:string"/>
    <xs:element name="heading" type="xs:string"/>
    <xs:element name="body" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>

    </xs:schema>
    Thanks.
    Thanks i know that example is like this only but got confused because some examples are too big.
    I didn't get you you have written "i know that example is like this only", you mean there won't be any other example available for xml schema?Sorry but there are lots of things we can do with it and lots of example we can make from this.
    Thanks.
    Ya i know there are lot of things we can do.It's just that i did not want to type that much of exmple.Anyways i am working on it.Thanks.
    Its right its very huge and writing code here is not possible for all and its also not so easy and its a very difficult script.

  8. #8
    Join Date
    Apr 2009
    Posts
    553
    Rep Power
    0

    Default Message

    Ya.Scripting is very difficult but some people manages to learn easily.Currently i am learning but not easily.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
webmaster forums webmaster resource forum webmaster money forums