On Friday, February 1, 2002, at 03:05 PM, Lars Torben Wilson wrote:
>>> Everything is correct 'cept the 'double quotes' bit--XML accepts >>> attribute values enclosed in either single or double quotes. >> >> Yes, and to extend on that: you need to stick to one convention or the >> other throughout the entire document. You can't have one entity with >> double quotes and another one using singles. > > No, that's incorrect. As long as they match for a given attribute value, > you're OK. At least, that's what the spec and nsgmls say. :) Hm... I don't know why I thought otherwise. I checked with the spec (http://www.w3.org/TR/xhtml1/#h-4.4), and it really doesn't say yes or no to this. But I'm sure you're right, since some attributes contain quoted content, which is why you would switch from one to the other. > BTW--entities are something else entirely. In trying to avoid calling XML entities "tags", I forgot that we were talking about XHTML, where "tags" do indeed exist. Thanks for the correction. Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]