Re: Media types

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 UTC