spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / xml / column4

The Browser War continued: XML support in IE and Mozilla

Sr Instructional Designer D2L-Moodle,Clearance
WSI Nationwide, Inc.
US-NJ-Fort Monmouth

Justtechjobs.com Post A Job | Post A Resume
Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs


And the rest of the pack?

Opera

I could not find anything related to XML on the Opera Web site. I still have an outstanding request for comment with them, I will keep you posted with the results.

Lynx

The same picture here. XML support shows up on one of the wish lists for Lynx but no concrete plans could be found. I am also waiting for a reply from the maintainer of this wishlist.

Emacs W3

Same here. I have an outstanding request with the maintainer of the Emacs W3 Web site.

The Cross-Browser Challenge

Let us look at how your favorite online book store could put XML to good use for presenting a list of books to your favorite Web browser.

The list of books

First we need to define a set of tags for books, for instance:
<?xml version="1.0"?>
<?xml-stylesheet href="books.css" type="text/css"?>

<Books xmlns:html="http://www.w3.org/TR/REC-html40">
  <Book>
    <BookCover><html:img src="book.gif" width="37" height="30" /></BookCover>
    <Title xml:link="simple" show="replace" href="mybook">My book</Title>
    <Author>Me</Author> <ISBN>1111111111</ISBN>
    <Synopsis>This is my book.</Synopsis>
    <ListPrice>$12.95</ListPrice> <Price>$10.36</Price>
  </Book>
  <Book>
    <BookCover><html:img src="book.gif" width="37" height="30" /></BookCover>
    <Title xml:link="simple" show="replace" href="yourbook">Your book</Title>
    <Author>You</Author> <ISBN>22222222222</ISBN>
    <Synopsis>And this is your book.</Synopsis>
    <ListPrice>$15.95</ListPrice> <Price>$12.76</Price>
  </Book>
  <Book>
    <BookCover><html:img src="book.gif" width="37" height="30" /></BookCover>
    <Title xml:link="simple" show="replace" href="ourbook">Our book</Title>
    <Author>We</Author> <ISBN>3333333333</ISBN>
    <Synopsis>And finally our book.</Synopsis>
    <ListPrice>$12.95</ListPrice> <Price>$10.36</Price>
  </Book>
</Books>
Every book has an image of the cover, and the usual attributes like title, author, ISBN number, synopsis, a list price and the real price. We include the HTML namespace for images, and we use X-Link simple links for referring to (non-existing) detailed book descriptions.

next page

http://www.internet.com

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint


Produced by Michael Claßen
All Rights Reserved. Legal Notices.

URL: http://www.webreference.com/xml/column4/3.html
Created: Jan. 17, 2000
Revised: Jan. 17, 2000