On Tue, 17 May 2005 13:21:23 +0100, James Ellis <[EMAIL PROTECTED]> wrote:


<a href="foo.php">&quot;bar&quot;</a>
An XML parser would barf on <a href="foo.php">"bar"</a> as the quote
char describes an attribute. This is "badly formed" markup.

No, it is not. Quotes and apostrophes can be used in XML text.

You can use them even in attributes, if different type of quote is used to quote attribute value.

'"that"<is absolutely='"legal" xml' />'

--
regards, Kornel Lesiński
******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to