Suite101

XML: What's new, what's different.


© Robin Friedman

Although XML was introduced over a year ago, it has been slow to be supported, and slow to gain favor. This is partly because of the entry of DHTML, and partly because of XML's design. Although it introduces radical changes to HTML, it produces few results that you can immediately see. DHTML changes nothing about how basic HTML is done, but it's hybrid Javascript and Layers/Stylesheet effects have made developers jump to learn it.

What many people don't see is that XML makes significant strides to improve the way we make the basic webpage. For example, you can declare any doctype you want in a page:

<!DOCTYPE MYWEBPAGE SYSTEM "Article.dtd">

This kind of identification can be useful when trying to integrate large sites with similar groups of pages.

XML basically gives you more control over how you define objects. You can even create your own! For example,

<TIE COLOR="RED> I am a red tie. </TIE>

You can then refer to this "TIE" object anywhere else. All of the text above is part of a TIE, and its COLOR variable is RED. Previously, if you wanted to assign all of these properties, you'd have to use javascript with twice this much code. And XML objects are much easier to refer to, in fact just as easy as HTML objects. Additionally, this makes your code easier to understand, so if you give your page to a friend, or edit a page you created long ago, you can tell what's going on faster.

Although XML still isn't fully supported by major browsers(without a compiler), it can make your life easier. One possibility for the future is XML coding, combined with layers, style sheets, and javascript to create easy to read DHTML! Now wouldn't that be amazing. It's worth looking into, so check XML out.

Try starting with http://www.xml.com , or http://www.w3.org/XML/ .

Go To Page: 1


The copyright of the article XML: What's new, what's different. in Linux/Unix is owned by . Permission to republish XML: What's new, what's different. in print or online must be granted by the author in writing.

Post this Article to facebook Add this Article to del.icio.us! Digg this Article furl this Article Add this Article to Reddit Add this Article to Technorati Add this Article to Newsvine Add this Article to Windows Live Add this Article to Yahoo Add this Article to StumbleUpon Add this Article to BlinkLists Add this Article to Spurl Add this Article to Google Add this Article to Ask Add this Article to Squidoo