You are here: DEVPPL Forum Programming XML Forum
NOTIFICATIONS
54.091
MEMBERS
15.687
TOPICS
62.261
POSTS
  562
FLASH GAMES
7.740
TUTORIALS
 

Login

E-mail:
Password:

XML or HTML

0

Loading

XML or HTML

Postby Ash » Sun Jan 29, 2006 9:12 am

Finally a post. :D

Whats the benefit of using XML because I have the option of using it on my frontpage?
Ash
 
Reputation: 0
Posts: 1020
Joined: Wed Aug 03, 2005 7:10 pm
Location: England
Highscores: 0
Arcade winning challenges: 0

XML or HTML - Sponsored results

Sponsored results

Login to get rid of ads

 

0

Loading

Postby Johneva » Sun Jan 29, 2006 12:19 pm

Aup did you mean XML or did you mean XHTML?

Cos XML is not ment to be used for pages in that way.

What W3C says.
XML was designed to carry data.

XML is not a replacement for HTML.
XML and HTML were designed with different goals:

XML was designed to describe data and to focus on what data is.
HTML was designed to display data and to focus on how data looks.

HTML is about displaying information, while XML is about describing information.


If you want to find out more about what W3C says abot XML and do some tutorials on it look at theis link.
Linky link


About XHTML

What W3C says.
What Is XHTML?

* XHTML stands for EXtensible HyperText Markup Language
* XHTML is aimed to replace HTML
* XHTML is almost identical to HTML 4.01
* XHTML is a stricter and cleaner version of HTML
* XHTML is HTML defined as an XML application
* XHTML is a W3C Recommendation


What to find out more check out this link to W3C.
Linky link

After seeing the code you posted the other day when you were asking for help. If I were you I would concentrate on using CSS correctly before learning either XHTML or XML as good CSS is more important than XHTML or XML.

In you code the other day you had styles in you HTML which should not be done really they should be in at least the head of the doc but I prefer to use an external styles sheet where apropriate.

Also you were using tables for layout which is not the proper way anymore either you should use CSS for layout by use of div tags.

From the HTML 4.0 specification:
Tables should not be used purely as a means to layout document content as this may present problems when rendering to non-visual media. Additionally, when used with graphics, these tables may force users to scroll horizontally to view a table designed on a system with a larger display. To minimize these problems, authors should use style sheets to control layout rather than tables.
Image
Only God Can Judge Me.
Johneva
 
Reputation: 0
Posts: 565
Joined: Sat Oct 29, 2005 2:16 pm
Location: Stafford, England
Highscores: 0
Arcade winning challenges: 0
0

Loading

Postby Ash » Sun Jan 29, 2006 12:58 pm

I meant XML
Image
It makes no sense to me if XML is not supposed to replave HTML then why is iit there?
Ash
 
Reputation: 0
Posts: 1020
Joined: Wed Aug 03, 2005 7:10 pm
Location: England
Highscores: 0
Arcade winning challenges: 0
0

Loading

Postby Johneva » Sun Jan 29, 2006 1:13 pm

Did you not read the page I gave you a link to?

A little more of what W3C says about XML.
XML does not DO anything

XML was not designed to DO anything.

Maybe it is a little hard to understand, but XML does not DO anything. XML was created to structure, store and to send information.

The following example is a note to Tove from Jani, stored as XML:
Code: Select all
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>

The note has a header and a message body. It also has sender and receiver information. But still, this XML document does not DO anything. It is just pure information wrapped in XML tags. Someone must write a piece of software to send, receive or display it.
Image
Only God Can Judge Me.
Johneva
 
Reputation: 0
Posts: 565
Joined: Sat Oct 29, 2005 2:16 pm
Location: Stafford, England
Highscores: 0
Arcade winning challenges: 0
0

Loading

Postby Bimal » Thu Jan 17, 2008 5:41 am

The Extensible Markup Language (XML) is a general-purpose markup language.
It is classified as an extensible language because it allows its users to define their own elements. Its primary purpose is to facilitate the sharing of structured data across different information systems, particularly via the Internet.

for other kind of help you can visit at:
http://webdesigningcompany.net
Bimal
 
Reputation: 0
Posts: 7
Joined: Wed Jan 16, 2008 6:46 am
Highscores: 0
Arcade winning challenges: 0
0

Loading

Postby Payal » Fri May 30, 2008 8:17 am

HTML is a language to describe the semantics and structure of text documents, along with their relationships to other documents.HTML is an application of SGML,
XML is a simplified version of SGML.
The Extensible Markup Language (XML) is a general-purpose specification for creating custom markup languages
Payal
 
Reputation: 0
Posts: 2
Joined: Fri May 30, 2008 7:16 am
Highscores: 0
Arcade winning challenges: 0
0

Loading

Re: XML or HTML

Postby Mokshikapoor » Wed Jan 19, 2011 9:53 am

HI,

XML is the parent of XHTML in the same way that SGML is the parent of HTML. XML is HTML's uncle.
"XML is mainly for exchanging data between machines."

Nope, it's a way of structuring data and documents that is both human and machine readable. It is also a way to describe rules that define a type of document or application that is a subset of XML. XML is all grammar but has a way to define the vocabulary.

"HTML is mainly for formatting text to display in a web browser"

Thanks

Seo Company India
Mokshikapoor
 
Reputation: 0
Posts: 5
Joined: Wed Jan 19, 2011 8:29 am
Highscores: 0
Arcade winning challenges: 0
^ Back to Top