What is XML, XHTML? ~ The Blog Doctor.

What is XML, XHTML?

New Visitor? Like what you read? Then please subscribe to my Blog Feed or sign up for Free Email Updates. Thanks for Visiting!

XML and XHTML are two new terms popping up into the beta bloggers' lexicon and we consider them here.....

First came SGML. Standard Generalized Markup Language (SGML) is a metalanguage in which one can define markup languages for documents. SGML is a descendant of IBM's Generalized Markup Language (GML), developed in the 1960s by Charles Goldfarb, Edward Mosher and Raymond Lorie (whose surname initials also happen to be GML). In logic and linguistics, a metalanguage is a language used to make statements about other languages (object languages).

A markup language combines text and extra information about the text. The extra information, for example about the text's structure or presentation, is expressed using markup, which is intermingled with the primary text. The best-known markup language in modern use is HTML (HyperText Markup Language), one of the foundations of the World Wide Web.

Next came HTML. In computing, HyperText Markup Language (HTML) is a predominant markup language for the creation of web pages. It provides a means to describe the structure of text-based information in a document — by denoting certain text as headings, paragraphs, lists, and so on — and to supplement that text with interactive forms, embedded images, and other objects. According to HTML standards, each HTML document requires a document type declaration. The "DOCTYPE" begins the HTML document and tells a validator which version of HTML to use in checking the document's syntax. HTML templates can begin with this line :


or this line :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

Strict.dtd declares the document to be HTML 4.01 Strict. HTML 4.01 Strict is a trimmed down version of HTML 4.01 that emphasizes structure over presentation. Deprecated elements and attributes (including most presentational attributes), frames, and link targets are not allowed in HTML 4 Strict. By writing to HTML 4 Strict, authors can achieve accessible, structurally rich documents that easily adapt to style sheets and different browsing situations.

Transitional declares the document to be HTML 4.01 Transitional. HTML 4 Transitional includes all elements and attributes of HTML 4 Strict but adds presentational attributes, deprecated elements, and link targets.

Then came XML. Extensible Markup Language (XML) is a W3C-recommended general-purpose markup language that supports a wide variety of applications. XML is a simplified subset of Standard Generalized Markup Language (SGML). Its primary purpose is to facilitate the sharing of data across different information systems, particularly systems connected via the Internet. The first line in a XML template for beta blogger is :

<?xml version="1.0" encoding="UTF-8" ?>

And Finally we have XHTML. XHTML is the next generation of HTML and is a hybrid between HTML and XML. XML was designed to describe data. HTML was designed to display data. XHTML is much stricter than HTML. Not all browers support XML so XHTML provides an intermediary soluton and can be interpreted by XML and HTML browsers. XHTML templates begin with this line :

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

(source : Wikipedia)

HTML and XHTML files can be opened in NOTEPAD and edited in it. XML files require special software like :

XML Notepad 2006
Microsoft XML Notepad
Stylus Studio XML Pro
XML Fox XML&XSD Editor

to open and edit them. When you download template in Beta Blogger using its new 'Download Full Template' feature (see picture alongside) the template is downloaded with the file extension XML.

Another way of backing up your template in Beta Blogger is to check the Expand Widget Templates box on top of the Edit Template text box, select all in the edit template text box and copy and paste it to a text file in Notepad.

You can upload text template files to beta blogger using Upload a template from a file on your hard drive feature just below the 'Download Full Template' link. Using the Download Template feature downloads XML template files to your PC.

Technorati Tags:, , ,


Unknown said...

thanx that was helpful

Jennifer Jones said...

Hey... thank for the help on Yahoo groups. This is a great site and has helped me a lot.



KD13 said...

I'm new at this but I want to make some changes to the HTML on my blog only unfortunately I chose the 'layouts' option.

I'm kicking myself now but that's not much help.

Can I convert my blog to Minima Black classic without layouts?
And if I can will it wipe out all the HTML I added thru the page elements page?

I'll come by later and chk if you've answered so even if you can't help do leave a comment saying u read this.


Αφροδίτη Φράγκου said...

Hey Vin!

YOu're doing a great job... I dropped an eye on some posts and they seem really helpful!

I was wondering if you knew whether I can add some metadata to my blog's html using a specific xml schema.

Thanks a million!

Vin said...

Afroditi Fragkou - Infoscience Addict,

What metadata do you want to add?

What would be the use of it?


Skip to top of post.

Search Blog Before Commenting


Post a Comment

Please use the above search box to search this blog before posting your valuable comments.

Comments posted on Dummies Guide to Google Blogger (Beta) are moderated and will be approved only if they are on-topic and not abusive. Try not to include website URLs/links in your comments. You can email me : drbhatns at gmail dot com for any blogging question. Thanks,


The Blog Doctor The Blog Doctor2 Blog Doctor Home


Tips On Blogger and Latest News.

Skip to top of post.