[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feedback on 0.3 Format




Sam Ruby wrote:
Let me ask it in the form of a question. Suppose we have a format which strongly discourages the use of HTML in titles. Given such a format, suppose I have a desire to express the following title:

Ode to the <title> tag

By that I mean that I want this to be rendered WITH the less than and greater than tags visible.

How would you recommend that this be expressed?

<title type="text/plain">Ode to the &lt;title&gt; tag</title>


I think when this was discussed first the conclusion was that you can't really choose the mode. It's fixed per mime-type:
text/plain -> mode="xml"
text/html -> mode="escaped"
any xml format -> mode="xml"
Other combinations might work, but they just don't make much sense.


The mode attribute is there to make the atom format more discoverable. Reading mode="escaped" helps explaining what's going on.

But adding this attribute also gives the idea that you can choose the mode. So maybe it's not such a good idea after all.

--
Sjoerd Visscher
http://w3future.com/weblog/