Sidnei da Silva wrote:
| So far, I like:
| | foo/bar->dc/title
| | the best.


OTOH, for 'valid' xhtml, u would have to write:

You mean well-formed.


foo/bar->dc/title

Totally defeating the purpose. One may argue that this would not be
part of the output, but it breaks the editors (at least nxml-mode).

Wrong. Double check the spec. (I did. :)

http://www.w3.org/TR/2004/REC-xml11-20040204/#NT-AttValue

You only need to escape the less-than because there's no way to
mistake "a->b" as a tag.

Jim

--
Jim Fulton           mailto:[EMAIL PROTECTED]       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org


_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to