On Jan 31, 2005, at 01:32, Sam Ruby wrote:

Julian Reschke wrote:
<atomTitle type="XHTML" xmlns:xhtml="http://www.w3.org/1999/xhtml";>
  Less: <xhtml:em> &lt; </xhtml:em>
</atomTitle>
(hope I got these right).

This is not only right, but also a good example of why many people would prefer to have another element so that they don't have to deal with prefixes:

Their serializer should deal with them. If they are concatenating source strings, using XHTML is risky.


<atomTitle type="XHTML">
<div xmlns="http://www.w3.org/1999/xhtml";>Less: <em> &lt; </em></div>
</atomTitle>


The above is "similar" to your example, but not _identical_ to your example, given the current spec.

You could also have <atom:title type="XHTML" xmlns="http://www.w3.org/1999/xhtml";> Less: <em> &lt; </em> </atom:title> (assuming the "atom" prefix to be bound higher up)

--
Henri Sivonen
[EMAIL PROTECTED]
http://iki.fi/hsivonen/



Reply via email to