Why namespaces don’t replace media types

By | 2004/09/18
<html xsl:version="1.0"
    <title>Expense Report Summary</title>
    <p>Total Amount: <xsl:value-of select="expense-report/total"/></p>


Update; ok, for the two of you that missed my point, that document is both an XHTML document and an XSLT 1.0 stylesheet. All the root namespace tells you is, well, the root namespace. The actual type is orthogonal to this, and in fact, orthogonal to anything in the document itself. Unless we want to prevent this form of compound document from being used, it is critical that media types continue be the key from which applications are dispatched.

Leave a Reply

Your email address will not be published. Required fields are marked *