What is XML, XHTML?

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 :



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 :





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 :



(source : Wikipedia)

XML and XHTML in BETA BLOGGER.
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 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.
What is XML, XHTML? What is XML, XHTML? Reviewed by MOHD ADHA MOHD ZAIN (ADHA ZAIN) on July 20, 2009 Rating: 5

No comments:

Recents

[getWidget results='3' label='recent' type='list']
Powered by Blogger.