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

Web Designers with Mad Skills!
Aquent
US-CA-Los Angeles

Justtechjobs.com Post A Job | Post A Resume
Developer News
Google Chrome Playing Catch-Up on Extensions
Open Solutions Alliance Gets New Leadership
Red Hat Spacewalk Expands Linux Management

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.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

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

webref The latest from WebReference.com Browse >
Popular JavaScript Framework Libraries: An Overview - Part 3 · Accessing Your MySQL Database from the Web with PHP · Working with the DOM Stylesheets Collection
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Review: Lenovo ThinkPad SL300 · OCZ PC3-10666 Gold 2x1GB Review · Apple Recommends Antivirus for Macs


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