About XML............................. [Resolved]

Posted by Gg under XML on 5/24/2011 | Points: 10 | Views : 2147 | Status : [Member] | Replies : 6
Hi,

What is XML?
What are the situation the XML file will be usefull in .net project? Please give me any real time project explanation.

Thanks,
gg.




Responses

Posted by: Muhsinathk on: 9/18/2012 [Member] Bronze | Points: 50

Up
0
Down

Resolved
The W3C, which is the organization that co-ordinates standardisation of Web protocols, has defined three types of XHTML documents. This is based on the XML Document Type Definition (DTD) that is used by the document. The XHTML DTDs are:

Strict : Used when the XHTML document is devoid of all formatting tags like <font> and Cascading Style Sheets (CSS) are used for controlling all presentation aspects.
Transitional : This XHTML DTD allows use of presentation tags in the document. This is a safer mode since most of our pages contain many presentation elements.
Frameset : Used for XHTML documents that describes frames.

1)The first line in the HTML document may be the XML processing instruction:

<?xml version="1.0" encoding="iso-8859-1"?>
2) The second line in the XHTML document should be the specification of the document type declaration (DTD) used. The document type declaration for transitional XHTML documents is:

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

The declarations for the strict XHTML DTD is:


<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

The declarations for the frameset XHTML DTD is:

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
3)The starting tag <html> should be modified to include namespace information. The modification is:

<html xmlns="http://www.w3.org/1999/xhtml" lang="EN">

Gg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Muhsinathk on: 9/18/2012 [Member] Bronze | Points: 25

Up
0
Down
1) XML was designed to transport and store data.

2)XML stands for EXtensible Markup Language.

3)XML is a markup language much like HTML

4)XML was designed to carry data, not to display data

5)XML tags are not predefined. You must define your own tags

6)XML is designed to be self-descriptive

7)XML is a W3C Recommendation



Gg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Muhsinathk on: 9/18/2012 [Member] Bronze | Points: 25

Up
0
Down
Please mark as answer if it helpful to you...That helps others who search the same...

Gg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hariinakoti on: 9/18/2012 [Member] Starter | Points: 25

Up
0
Down
Nice Explanation Ms

Thanks & Regards
Hari

Gg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Michaellipsey on: 12/31/2015 [Member] Starter | Points: 25

Up
0
Down

Hello,

w3schools is the best resource for learning html, xml, php.
You can visit these too:
http://www.javaworld.com/article/2076396/java-xml/xml-for-the-absolute-beginner.html
http://www.theukwebdesigncompany.com/articles/xml-advantages-disadvantages.php
https://www.trainingconnection.com/
http://www.comptechdoc.org/independent/web/xml/guide/xmluses.html

Thanks,
Michael


Gg, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response