iSnare.com - Free Content Articles Directory
Authors Contents [Advanced Search][Add OpenSearch][Job Search]
Distribute your articles to thousands of article sites for only $2 and below! Read more...

Index  Internet
 

XML: Scripting for the Web and Beyond

 
[ Contact the Author] [ Send to a Friend] [ Article Publisher] [Make PDF] [ Print] [ Bookmark & Share]
 
Read our Terms of Service before reprinting this article. The submitter specified above has claimed the rights to this article.
Sandra Prior

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.

Important NoticeDISCLAIMER: All information, content, and data in this article are sole opinions and/or findings of the individual user or organization that registered and submitted this article at Isnare.com without any fee. The article is strictly for educational or entertainment purposes only and should not be used in any way, implemented or applied without consultation from a professional. We at Isnare.com do not, in anyway, contribute or include our own findings, facts and opinions in any articles presented in this site. Publishing this article does not constitute Isnare.com's support or sponsorship for this article. Isnare.com is an article publishing service. Please read our Terms of Service for more information.

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
Article Tags: style [See Dictionary], web [See Dictionary], xml [See Dictionary]
Got a question about this article? Ask the community!
Article published on March 20, 2009 at Isnare.com
 
Rate this article:

Counters and Guest Books
Submitted by: Sandra Prior

Now you’ve finished your website, you’ll want to know who is visiting and what they think of it Have you ever thrown a party where nobody came...

Adding Color to Your Website
Submitted by: Sandra Prior

How do you design a color scheme for your website that won’t tear the retinas from your visitor’s eyeballs...

Enter the World of E-commerce by Joining an Associate Program
Submitted by: Sandra Prior

Now that your site is up and running, the next thing to do is find out how you can get it to earn its keep...

Your First Website
Submitted by: Sandra Prior

While being able to create a web page is fine and dandy, one page on its own can get lonely What you really want to do is create an entire web site, complete with splash pages, navigation bars, lots of useful pages, a bit where people can chat with each other, a section that makes coffee for visitors…Okay, maybe not that last bit, but you get the idea...

What is Netiquette?
Submitted by: Sandra Prior

Netiquette is an attempt to foist table manners on the Net user who might care – a sort of book of right and proper manners for all young and fair societies...

Searching Strategies
Submitted by: Sandra Prior

Identification Successful Internet searching begins even before you touch your keyboard or click on your mouse – it’s when you consider what type of search you want to carry out...

Making The Most Of Fonts On Your Web Pages
Submitted by: Sandra Prior

Back in the pre-historic days of the web, when dinosaurs roamed Usenet and people didn’t have numbers in their names, Lynx was the slickest browser on the block...

If You Want Your Website To Make An Impact, You Need To Make It Visually Inviting
Submitted by: Sandra Prior

Striking visual impact Instant appeal, instant identity...

Getting The Best From Outlook Express
Submitted by: Sandra Prior

Any business, regardless of its size, should have and Internet email facility An Internet address looks good on your business card and, more importantly, it ensures that you are accessible 24 hours a day anywhere in the world...

How To Get Online
Submitted by: Sandra Prior

What computer do you need To get on the Internet, you don’t need a superfast, top-of-the-range computer...

10 Reasons Why You Should Have Your Own Web Page
Submitted by: Sandra Prior

Everyone’s building their own web page, from 14-year-olds producing multimedia extravaganzas in their bedrooms to grandparents putting their family history online...

MP3 is the Buzzword on the Internet
Submitted by: Sandra Prior

The hype around MP3 has been phenomenal, but with it has come many misapprehensions about what exactly it is and what you can do with it...

Getting Started On The Internet
Submitted by: Sandra Prior

You’ve mastered windows, got to grips with games and put paid to your word processor problems The next challenge is the internet...

Home Online Careers: Why Affiliate Marketing is the Best Home Online Careers For Single Parents
Submitted by: Brandon Wenzel

Being a single parent isn't an easy job Working, taking care of your children, and trying to make ends meet in today's economy is a daunting task...

Work Part Time Online: Learn How to Pay Off Those Extra Bills With Affiliate Marketing
Submitted by: Brandon Wenzel

Are you one of the millions of American's that are looking for a way to earn extra money with this thought in mind, "I want to work part time online"...

How to Work Online For Free and Make Money
Submitted by: Brandon Wenzel

Can you imagine a job where you can work online for free and make money while you do it Is that even possible...

How to Find Good Online Jobs That Make You Money
Submitted by: Brandon Wenzel

Are you one of thousands of people that are looking for good online jobs If you are, you are looking to make some extra cash to pay of bills or be able to do more things with your family...

The Best Internet Jobs at Home: Have You Ever Heard of Affiliate Marketing?
Submitted by: Brandon Wenzel

Are you a single parent looking for the best Internet jobs at home that will help you earn a little extra cash...

Must Have Article Marketing Strategies For Beginners
Submitted by: Brandon Wenzel

If you are an affiliate marketer trying to make money online or a website owner who wants to drive extra traffic to their website, the easiest and most cost-effective way for both of these is article marketing...

Quick and Simple Overview on Webhosting Services
Submitted by: Ani K

In the present internet world, if we think of something we can get it with in no time It is possible because of the ease of access to the internet where one can search for anything and can get the best result...

How Important is Web Design?
Submitted by: Derek Rogers

Many small business owners ask themselves the same question, "just how important is web design for the success of my website and my overall business...

How to Choose a Content Management System
Submitted by: Derek Rogers

A content management system can be an extremely powerful tool to have your disposal When properly matched with the needs of a particular company, it can be a seamless way to add more content to a website, edit existing content and quickly move things around, manage your materials and more...

How to Choose a Web Design Agency
Submitted by: Derek Rogers

When developing a website, there are many factors that you have to consider After all, your website isn't just an online destination; it's the online representation of your business and your brand...

Is Small Business Web Design Different to Larger Companies?
Submitted by: Derek Rogers

If you're ready to develop your own website and online presence, of course you are thinking about getting your own specific needs met...

Optimizing Your Affiliate Pages
Submitted by: Diana White

With no doubt, Affiliate Marketing is one of the most rewarded jobs in the Web However, it is not an easy field to rank due to the raising competition...

Online Shopping - For Hottest Deals
Submitted by: Robert E. Finch

This is the age of internet and people like to do all their research over the net before they finalize on something...

5 Tips For Website Project Success
Submitted by: Vann Baker

Many website projects actually fail before they even get started This is not intentional, but with technology-driven projects, it is easy to get derailed before the train is out of the station...

Five Tips to Discard Google and Create an Alternative SEO
Submitted by: Klast Munevar

Undoubtedly, Google is the major search engine and the king of the Internet As a logical consequence, all the internet marketers ―independently if they're PPC or affiliate based― know the advantages of working along with its incredible power and the real advantages of its positioned name...

Isnare.com Footer Divider

© 2004-2009. Isnare Free Articles - An Isnare Online Technologies Free Articles Project. All Rights Reserved.   Privacy Policy