Results 1 to 6 of 6

Thread: Don't know about XML schema

  1. #1
    Join Date
    Dec 2009
    Posts
    68

    Don't know about XML schema

    Hi friend,

    I just started to learn the XML. I have knowledge about the Java programming, but the XML is totally different from the Java language. I am getting troubled in understanding the 'XML schema'. I want to know that is 'XML schema' and how it is defined. If you have sound knowledge about the 'XML schema', then please try to share with me. I am waiting for your reply.

  2. #2
    Join Date
    May 2008
    Posts
    2,389

    Re: Don't know about XML schema

    An instance of a XML Schema is somewhat equivalent to a type definition document (DTD). XML Schema take various differences with the DTD: it allows for example to identify areas of validity for the value of a field, then it is not possible in a DTD, however, it does not define entities, XML Schema is itself an XML document, while DTDs are documents SGML.The description of XML documents is itself defined by a schema, which tags definition of self-defined.

  3. #3
    Join Date
    Feb 2008
    Posts
    1,852

    Re: Don't know about XML schema

    XML Schema in nothing but the recommendation for to description language document format XML to define the structure of an XML document. Knowing the structure of an XML document makes it possible to verify the validity of this document. A description file structure (XML Schema Definition in file XSD) Is itself an XML document. XML Schema corresponds to a high level of formalization in classification schemes. XML Schema can implement the standard Dublin Core of Metadata.

  4. #4
    Join Date
    Jan 2008
    Posts
    1,521

    Re: Don't know about XML schema

    Hi friend,

    I suggest you to refer following example of XML , and which will depict you concept of XML schema:
    Code:
    <xml release="1.0" encoding="UTF-8"?>
    
      <person xmlns: xsi="http://..../XMLSchema-instance" xsi: noNamespaceSchemaLocation="wed.xsd">
        <name>TGB</ name>
    
        <first_name>Babacar</ firstname>
        <establishment>NIIT</ settlement>
        <birth_date>1987-12-21</ birth_date>
        <num_tel>9959595959</ num_tel>
      
      </ person>

  5. #5
    Join Date
    Apr 2008
    Posts
    1,948

    Re: Don't know about XML schema

    Hi,

    The main advantages of using XML schema is that, it is useful for to describe the XML document structure. The XML schema is more powerful than 'DTD'. It means it is a another alternative option for the use of DTD. The XML schema comprises attributes and which gives more details about the XML elements. The process which is used to relate an XML document to the schema changes as per the XML schema language.

  6. #6
    Join Date
    May 2008
    Posts
    2,012

    Re: Don't know about XML schema

    I have one example of XML schema, Please study below example carefully:
    <?xml version="1.0"?>

    <xs:schema xmlns:xs="http://...../XMLSchema">

    <xs:element name="note">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="V" type="xs:string"/>
    <xs:element name="yj" 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>

Similar Threads

  1. Schema Admins
    By AngerEyes in forum Active Directory
    Replies: 1
    Last Post: 22-05-2011, 03:57 AM
  2. Schema in SQL2
    By \"Dritan\" in forum Software Development
    Replies: 3
    Last Post: 11-01-2011, 08:26 AM
  3. Get ddl of schema from toad
    By Katlin in forum Software Development
    Replies: 2
    Last Post: 29-05-2009, 06:05 PM
  4. How to create XML Schema
    By RogerFielden in forum Software Development
    Replies: 2
    Last Post: 27-04-2009, 07:09 PM
  5. How to Validate Elements using XML Schema
    By StudyBoy in forum Software Development
    Replies: 3
    Last Post: 27-03-2009, 09:06 AM

Tags for this Thread

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
  •  
Page generated in 1,714,289,965.98539 seconds with 17 queries