In Focus
MOBILE: HTML 5 vs. Native Apps
Istanbul Chapter May 2013 2nd Seminar Announced : Learn WinJS, Windows Store, MVC
ANNOUNCEMENT: April 2013 Month Winners
Email :
Password :
Remember me?
Forgot password
Contribute
An Article
A Blog
A News
A Video
A Link
An Interview Question
Ask a Question
TECHNOLOGIES
.NET 4.5
Current Affairs
JQuery
SharePoint 2010
Web Development
.NET Assemblies
Databases & DBA
Learn .NET
SharePoint 2013
Web Services in C#
ADO.NET in C#
Design & Architecture
LightSwitch 2012
Silverlight with C#
Windows 8
AJAX in C#
Exception Handling C#
LINQ
Smart Devices
Windows Azure
Android Programming
Graphics Design
Mobile & Embedded
SQL
Windows Controls C#
Articles C#
Hardware
Office 2013
SQL Server 2012
Windows Forms C#
ASP.NET Controls in C#
How do I
OOP/OOD
Testing
Windows Phone 8
ASP.NET MVC with C#
HTML 5
Operating Systems
TypeScript
Windows Server 2012
ASP.NET Programming
Internet & Web
PHP
Visual C#
Windows Store Apps
C# Language
iPhone/iPad
Products
Visual Studio .NET
Workflow Foundation in C#
C# Tutorials
Java
Reports using C#
Visual Studio 2010
WPF
C, C++, MFC
Java and .NET
Robotics & Hardware
Visual Studio 2012
XAML
Career Advice
JavaScript, CSS
Security in .NET
WCF with C#
XML
Chapters
Request a new Category
|
View All
ANSWERS
BLOGS
VIDEOS
INTERVIEWS
BOOKS
LINKS
NEWS
CHAPTERS
CAREER ADVICE
After 3rd C# Corner ISTANBUL Chapter Seminar
HTML 5 vs Native Apps
Difference amongst Const, Readonly, Static k ...
Enabling or Disabling JavaScript in Internet ...
GridView New Feature in ASP.NET 4.0
Data Access Technologies in Microsoft World
What is the Role of Http.Sys in IIS ?
Simple way of applying file downloads permission
Check upcoming B'day in Asp.net
Error Condition: HttpException: maxRequestLe ...
Blog
Why XML instead of HTML?
Posted by
Nipun Tomar
in
Blogs
|
XML
on
Apr 26, 2011
HTML is a markup language used for displaying information, while XML markup is used for describing data of virtually any type.
Tweet
1940
0
0
HTML
is a markup language used for displaying information, while
XML
markup is used for describing data of virtually any type. In other words, we can say that HTML deals with how to present whereas XML deals with what to present.
Lets take an example In HTML a student might be described using a definition name, definition data, an unordered list, and list items. But none of these elements actually have anything to do with student.
The HTML is as under:
<HTML>
<body>
<dt>Mayank</dt>
<dd> Of Science Stream</dd>
<ul>
<li>Standard: Eleventh
<li>School: ABC Pvt. School
</ul>
<body>
</html>
And the XML for this is:
<XML>
<STUDENT>
<NAME>Mayank</NAME>
<STREAM>Science</STREAM>
<STANDARD>Eleventh</STANDARD>
<SCHOOL>ABC Pvt. School</SCHOOL>
</STUDENT>
</XML>
Instead of generic tags like <dt> and <li>, this listing uses meaningful tags like
<STUDENT>, <NAME>, <STREAM>, and <STANDARD>.
This Feature is Sponsored By
DynamicPDF Merger is a developers dream for interacting with any existing PDF documents. Merge, append, split, form fill, flatten stamp and so much more.
How can we convert any data to X..
Read an xml file node by node
post comment
COMMENT USING
PREMIUM SPONSORS
iPhone, Android & Web Development Services
Over-C is a holistic consortium of communications and technology specialists. We build, deploy and market both business as well as consumer products and solutions.
More Blogs from this Blogger
How to reset Dock in MAC OS
How to list all properties of an Entity
WPF XAML content with special character
WPF: Textblock Vs Label
Show/hide Solution and Advanced Build Configurations
Recycle IIS Application Pool
How To Disable All Triggers on a Database
How to get all dates between date range in sql query
Difference between URL and URI
Difference between RDL and RDLC formats
View All
SPONSORED BY
DynamicPDF ReportWriter Suite
PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.
Follow @twitterapi
Latest Blogs
Why to fear Object Oriented Programming approach
Happy Birthday Destin Joy
Access Master Page Control In Child Page
Find Dependent Object In SQL Server
Gets The Value Of Dynamic Generated TextBox in Windows Application
Example of Expander in WPF
Dock Panel Example in WPF XAML
Popup Example in WPF
Introduction to Azure
Secure Your Android Application from Hackers
View All
Poll
Result
All Polls
Favorite Computer Manufacturer
Who is your favorite Computer manufacturer?
Lenovo
HP
Dell
Toshiba
Acer
Sony
Who is your favorite Computer manufacturer?
Options
Votes
%
Lenovo
19
13.38
HP
5
3.52
Dell
16
11.27
Toshiba
54
38.03
Acer
43
30.28
Sony
5
3.52
Total
142
100%