Welcome to Virtual Tutorial World Guest!

Everything XML

Post new topic   Reply to topic    VTW Forum Index -> XML
View previous topic :: View next topic  
Author Message
Please Register and Login to this forum to stop seeing this advertising.


Posted:     Post subject:

Back to top

Joined: 31 Jul 2007
Posts: 144

Tokens: 147
Location: US

PostPosted: Mon Oct 08, 2007 5:13 pm    Post subject: Everything XML Reply with quote

What is XML?

XML stands for Extensible Markup Language. Most people think XML is either a markup language or a metalanguge. Both are correct. It is used as a metalanguge to create XML-based languages, which are used to create specific documents. XML is used as a markup language to markup text.

But what does "markup" mean?

Markup refers to the "insertion of characters to indicate how the information in a document should appear when it is printed or displayed, or to describe a document's logical structure." -XML written by Al McKinnon and Linda McKinnon.

Are XML and HTML similar?

Yes and no. XML and HTML both use tags, elements, and attributes, so they appear very similar.
Though, XML is not like HTML and was never meant to replace HTML. They both were designed with different goals. XML was designed to describe data and focus on what the actual data is. However, HTML was designed to display content and focus on how the content looks.

Can I see an example of the similarity between XML and HTML?

Sure you can! Here would be the HTML code:

ABC Co. owes us <strong>3517 dollars</strong>. This account should be monitored.

And here would be XML:
<text><client>ABC Co.</client> owes us <invamt>3517 dollars</invamt><remark>This account should be monitored.</remark></text>

Can you show me what a full XML code would look like?

<?xml version="1.0"?>
<!-- Your first XML code -->
        <friendly>How are you?</friendly>
        <improper>Hey! You!</improper>

At the very beginning, you see this code:"<?xml version="1.0"?>". You need that for every XML code that you write.

Hope this will be of use to anybody learning XML

In part two I will focus on XML components.


Come to me if you have any questions
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    VTW Forum Index -> XML All times are GMT - 5 Hours
Page 1 of 1

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

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group
Virtual Tutorial World ©2007-2008 computergeek67