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

Re: Media types

From: Norman Walsh <Norman.Walsh@Sun.COM>
Date: Wed, 16 Jan 2002 15:50:29 -0500
To: www-tag@w3.org, xml-dist-app@w3.org
Message-ID: <87wuyinhpm.fsf@nwalsh.com>
/ Paul Prescod <paul@prescod.net> was heard to say:
|> 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. 

Hmm, so is it an argument or a counter argument?

It seems like you'd need to send this as text/xslt-xml in order to get
the right interpretation.

                                        Be seeing you,
                                          norm

-- 
Norman.Walsh@Sun.COM   | All along the untrodden paths of the future, I
XML Standards Engineer | can see the footprints of an unseen hand.--Sir
XML Technology Center  | Boyle Roche
Sun Microsystems, Inc. | 
Received on Wednesday, 16 January 2002 19:36:43 GMT

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