* A. Pagaltzis <[EMAIL PROTECTED]> [2005-04-15 20:20]: > * Antone Roundy <[EMAIL PROTECTED]> [2005-04-15 00:10]: > > <feed xmlns="our namespace URI"> > > ... > > <atom:content type="XHTML" xmlns:atom="our namespace URI" > > xmlns="XHTML's namespace URI"> > > <div>This is XHTML content,<br /> > > and the default namespace is XHTML's.</div> > > </atom:content> > > I like this. A lot.
One better, with my @type='xml' suggestion instead of @type='xhtml': <feed xmlns="atom-ns-uri" xmlns:atom="atom-ns-uri"> <!-- ... --> <atom:content type="xml" xmlns="http://www.w3.org/1999/xhtml"> <p>This is XHTML content.</p> <p>The default namespace is XHTML's.</p> </atom:content> <!-- ... --> </feed> That gets rid of the need to declare the atom: prefix over and over. Regards, -- Aristotle