Subscribe to Sandra Prior’s Online Newsletter
and get up to date Computer Technology
News delivered right to your email box for free.
See website for details http://usacomputers.rr.nu and http://sacomputers.rr.nu.
HTML was written with one main goal in mind – to define a language that allowed the formatted display and presentation of information across as many platforms as possible, be it text, graphics or even added flexibility through scripting languages to allow interaction within the browser; and server databases have caused an explosion in the volume of information available nowadays.
All is not well, though. Developers are struggling to keep pace with the complexities of maintaining large sites that are compatible across browsers, where a lot of the information is changing on a daily basis. There is also a lot of repetition of information both within a single site and across the Web as a whole and somehow the ends need to be tied up. Surely databases are the answer? Well, yes and no. True, a database can act as the shared source, but not everybody uses or has access to a particular database format. Enter stage right, XML – eXtensible Markup Language.
Why Another Language?
XML, like HTML, has its roots in the Standard Generalized Markup Language (SGML), but shares even more of its features. A great limitation with HTML is that it has driven Web development down a one-way street; content gets produced and displayed but it is very difficult to later extract meaningful information from the mixture of tags and text.
Unlike HTML, XML has no fixed tags. The user must define tags that mark individual items of data within the file. XML holds the promise of a common source definition for the Web in much the same as Rich Text Files allow formatted text to be exchanged between different word processors.
How Does it Work?
The XML file will contain a list of names and addresses all appropriately ‘marked up’ with your chosen tags. It is normal also to define a Document Type Definition (DTD), either within the same file or in a separate file that can be referenced by other XML files. The DTD is not essential, but does allow the XML content to be validated and properly interpreted by other users.
In addition to this, a style sheet is required. This style sheet provides a template that defines how each of the elements in the XML file are to be displayed, by referencing the named tags in the XML file and embedding them within the required HTML formatting tags. A variety of style sheets can be used to define the look and feel of the resulting page. Most familiar will be Cascading Style Sheets (CSS), as used with Dynamic HTML.
DSSSL (Document Style Semantic and Specification language), apart from being a mouthful, is powerful but tricky to get to grips with. Showing most promise for the future is XSL (eXtensible Style Language). It is the language that has been written specifically for XML, it has the power to provide handling and formatting of XML data and already has some direct browser support.
Pushing all of the display and formatting into the selected style sheet brings real benefits. Producing cross-browser content is tedious at the best of times, but using the XML route only requires style sheets to be defined for each browser variant required – no modification of the source files containing the text content and navigation is necessary.
That’s not all – it gets better. Using a single set of common XML files, a range of different style sheets can be used together with an appropriate parser (which checks and processes the XML script) not only to produce HTML code for standard computer-based Web browsers but for all sorts of other applications.
A style sheet containing the necessary formatting and filtering of data for WAP can turn your XML Web content into WML (Wireless Markup Language) suitable for mobile phones, where only a small selected amount of information can be displayed. Alternatively style sheets could also render the XML for direct use with WebTV – the format commonly used for Digital Television, which, though sharing most of the features of standard HTML, is different enough to usually require separate development. It is even possible to produce common document types for distribution and other purposes – packages already exist for producing Acrobat PDF files direct from XML.
Browser Support
Direct support for displaying XML in the browser is limited unfortunately. Microsoft first introduced XML support in version 4 of Internet Explorer via bolt-on XML and XSL parsers. At the moment IE7 with integrated XML support is the best option. Until there is a critical mass of XML-aware browsers on the Web, your best way forward for XML development is to create standard HTML from pre-processed XML and style sheets. This can be accomplished using a parser either off-line or on-line on the server in real time.
Making Web pages more data-aware through the use of XML has the potential of transforming the Web landscape. Large organizations and businesses which are concentrating on the areas of on-line e-commerce, transaction processing and information sharing, require a common language and means of identification to work efficiently.
XML will also make integrating new technologies, such as speech recognition, easier for developers. As the Web expands and transforms itself, XML will only become more important.
- Related Videos
- Related Articles
- Ask / Related Q&A
- Style Sheet Language is Used to for the Style and Design of the Page
- The Good, The Bad, And The Ugly of Style Sheet Languages
- CSS: Cascading Style Sheets
- XHTML (eXtended Hypertext Markup Language): An Overview
- Serving Up Strong Language, Speech And Academic Skills Through Cooking And Kitchen Fun!
- Understanding Sheet Music Structuring For Novices
- Sheet Music Sight Reading Techniques
- Learn How to Read Sheet Music




Yahoo Store Redesign – Tune up Your Yahoo Store’s Performance!
By: John Tweak | 08/01/2010Yahoo Store redesign offers a brilliant way to Yahoo Store owners to make their store look lively and fresh. Therefore, if you are not satisfied with your store’s performance, then a store redesign is a great way to tune up the performance of your Yahoo Store.
Thesis Customisation to Show Thumbnail in Teaser
By: Imran Yousaf | 07/01/2010This is customisation to show the thumbnail in teaser and to duplicate image due to thesis theme.
Why You Need Your Website to Look Like a Corporate Website?
By: Jayesh Khandor | 07/01/2010Today in this world of intense competition, "corporate" is a big word. Corporates are ruling this world. So even if you are not corporate, it is necessary that your presence on the internet i.e. your website must look corporate.
The Advantages of Webmaster Tools
By: Marcus Sen | 07/01/2010This article explores the use of webmaster tools offered by Google, Yahoo! and Bing.
5 Tips For Web Design That Sells
By: James parker | 07/01/2010A good-looking website definitely works to attract customers and fulfill the branding needs of a business, but what are the actual elements that call for action and make your visitor turn into your long lasting customer? Here are the 5 basic guidelines that will help you convert your website into a products and services selling platform:
Professional PSD to HTML/CSS Conversion Service
By: Rohitchhibber | 07/01/2010In this era of ferocious online competition, where hundreds of websites are added each day, your website must have something special in order to make it stand apart and visible to your potential customers. Effective search engine optimization (SEO) is the need of the hour and each web page on your website must pass all the cyber standards which are necessary for the search engines spiders for proper indexing of your website
Philadelphia Web Design Company
By: Philadelphia Web Design Company | 07/01/2010The use of flash designs makes a company more emphatic and impressive. As an entrepreneur, you can promote your business accordingly, effectively and efficiently through attractively designed web designs.
Websites: A Company's Show Window
By: neeraj ahuja | 07/01/2010When designing your site, there is one critical point you need to consider that is that your website is a podium to exhibit your catalogue of products to your clientele.
Space Siege
By: Sandra Prior | 18/02/2009 | Computer GamesWhat do you get when you mix SEGA with the plot from Alien? Space Siege.
Crysis: Warhead
By: Sandra Prior | 17/02/2009 | Computer GamesAnyone who laid hands on the first Crysis and had a machine that could actually handle the bleeding thing will know what to expect from Crysis: Warhead. It looks and feels stunningly like the original but seems to be free of many of the same bugs that required much patching by Crytek after Crysis' release.
Spore - God: the Role Playing Game
By: Sandra Prior | 14/02/2009 | Computer GamesAn enormous, elaborate epic of exploration and creation you could potentially play forever.
Empire: Total War - The Creative Assembly Gets All Imperial
By: Sandra Prior | 08/02/2009 | Computer GamesThe latest in the Total War series covers a far tighter time period than before; where Medieval II stretched over around five hundred years. Empire covers only the eighteenth century, but is no less ambitious for this.
Say Nothing, Do Nothing
By: Sandra Prior | 04/02/2009 | BreakupDo nothing? Seriously? For women of action, this may be the last solution to consider in trying times. Many of us think we're more likely to succeed if we get involved, assert ourselves and put up a decent fight.
13 Tips to Find yourself
By: Sandra Prior | 03/02/2009 | AdviceStill frozen by uncertainty? Step back for perspective. Take a weekend away or a long walk. List the practical pros and cons of each option and follow your feelings.
Playstation 3 Owners Rejoice
By: Sandra Prior | 03/02/2009 | SoftwareThe last few months has seen a number of significant updates released for the Playstation 3, all of which have increased the console's functionality. Like the Xbox 360, you can use Windows Media Player 11 to share your media and view it using the Playstation 3.
Xbox 360 Streaming Media
By: Sandra Prior | 03/02/2009 | SoftwareWhile the Xbox 360 might have enjoyed phenomenal success as a games console, it has some other rather nifty tricks up its sleeve. Although the Xbox 360 has no built-in wireless, it does have an Ethernet connection, and there's a wireless adaptor available, although it does only use the 802.11g standard.