ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » Basic Queries related to XSD

Post new topic  Reply to topic
 Basic Queries related to XSD « View previous topic :: View next topic » 
Author Message
nikhilsharma
PostPosted: Wed Jul 01, 2009 10:41 pm    Post subject: Basic Queries related to XSD Reply with quote

Apprentice

Joined: 10 Aug 2007
Posts: 28

Hi

I have a basic queries regarding XML schema documents (XSDs).

1) What is XSD
2) Why we use it
3) what is the structure of xsd

Please help me to resolve these basic queries
_________________
Nikhil
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed Jul 01, 2009 10:56 pm    Post subject: Re: Basic Queries related to XSD Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

nikhilsharma wrote:
Please help me to resolve these basic queries


There are any number of websites that can answer you. A trip to your local (or online) bookstore will also yield a number of useful volumes.

As you say, basic queries. Basic answers:

1) The successor to DTD in describing XML
2) The same as you'd use DTD. Research the difference between well formed XML & valid XML
3) Too complex to discuss here. I have a book that runs to 400 pages answering that. Though it is a bit wordy, and has examples & diagrams.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 01, 2009 11:05 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Moved to general section
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
nvenkatesh
PostPosted: Wed Jul 01, 2009 11:37 pm    Post subject: Reply with quote

Apprentice

Joined: 29 Jan 2007
Posts: 45

Hi,

To explain in simple words,

1) What is XSD

If you know object oriented programming like C++ & Java, XSD to XML is a relation similar to that of a class to objects. XSD is like a class which describes about the XML which can be created out of it.

If you dont know about the object oriented programming, Consider a design of a car which is available in your hand. The real car which you see in the road which follows the design in your hand is the XML and the design itself which you hold in the paper is the XSD. Many cars are created out of the design. Likewise XML's can be created out of XSD.

An important point to note here is XSD is itself a XML.

2) Why we use it

It is used to describe and validate a given XML. Suppose your application accepts only integers, obviously you cannot pass a string. An XSD schema is like an integer, string, classes, etc which acts as a blueprint for the type of XML you expect as input (or output) as per your application needs.

3) what is the structure of xsd

There are many car designs available in this world, similarly you can create structures of XSD which suits your needs. If you want a basic tutorial on XSD structures follow this link http://www.w3schools.com/Schema/. If you need the internet standards followed for XSD structures follow this link http://www.w3.org/TR/xmlschema-1/

Thanks,
Venkatesh
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Basic Queries related to XSD
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.