W3C home > Mailing lists > Public > www-tag@w3.org > January 2002

Re: Media types

From: Paul Prescod <paul@prescod.net>
Date: Mon, 14 Jan 2002 23:03:46 -0800
Message-ID: <3C43D452.84712861@prescod.net>
To: www-tag@w3.org, xml-dist-app@w3.org
Mark Nottingham wrote:
> 
>...
> 
> Using the top-level namespace to identify a document's application is
> tempting, but doesn't always prove useful. 

Consider this example from the XSLT specification:

<html xsl:version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns="http://www.w3.org/TR/xhtml1/strict">
  <head>
    <title>Expense Report Summary</title>
  </head>
  <body>
    <p>Total Amount: <xsl:value-of select="expense-report/total"/></p>
  </body>
</html>

It's a perfect example. This document is logically XSLT, not HTML. 

 Paul Prescod
Received on Tuesday, 15 January 2002 02:07:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:03 GMT