.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Articles >> XML >> Post New Resource Bookmark and Share   

 Subscribe to Articles

A basic Introduction to Identify the Structure of XML Documents to beginners

Posted By:Ravi Ranjan Kumar       Posted Date: November 30, 2011    Points: 200    Category: XML    URL: http://www.dotnetspark.com  

This article enable you to learn basics of Structure of XML documents.

Identify the Structure of XML Documents

An XML application is considered to be well designed if it is robust scalable. For a well designed XML application the data model for the application should contains all the information that the application requires and should be able to accommodate subsequent changes. To design a robust and scalable XML application, you need to perform the following steps :-
a) Create an Information model to understand the structure and meaning of information that will be stored in the XML documents 
b) Identify the required component of the XML document.
c) Create the document considering the set of predefined rules.

Information modelling:- 

An Information model is a description of the information used in an organization. It specifies the meaning of data. In the absence of an information model, there is only data and no information.
In XML, an information model is used to understand the structure and meaning of information that will be stored in XML document. Information modelling helps you identify the objects involved in an application, the properties of the objects and the relationship among them. The Component of the XML document can be easily identified after you create the information model.
XML provides the following additional capabilities to information modelling :-
a) Heterogeneity
b) Extensibility
c) Flexibility

You can create Static, dynamic , or a combination of both these information models for an XML application.

Static Model:-

A static information model helps you defined all the objects in an application and the relatiohsips among them. For example :- customer and account types can be two object in an XML-based banking application. The properties of the customer object can be customer name,address and account number and the properties of the account type can be saving account or current account. The type of account that a customer that a customer holds defines the relationship between the customer and the account type object.

Defining the Static Information Model:- 

The best approach to define a static information model is a step-by-step method. This method is described as follows  :- 
a) Naming 
b) Defining  the object types
c) Using the type hierarchy
d) Finding relationship
e) Defining properties

Dynamic Model :- 

In a dynamic model, data flow diagram and process diagrams are used to determine the flow or information. In this model, you determine the information flow of an application in the form of messages. 
Using the Dynamic Information Model :- 
While using XML for representing the message that flow around the system, its better to understand what happens to data, where it comes from and where it goes. Some of the approaches for using dynamic information model are :- 

a)  a)  Process and workflow models

b) b)      Data Flow models

a)      Data stores that store the information

b)      Processors that manipulation the data

c)       Data flows that transfer data from one processor to another

C) Object Models

d)  Object life histories

e) Use cases

f) Object Interaction diagrams. 

 Subscribe to Articles


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend