Re: Re: Anyone Up?
| From: | Erik Price | Date: | Fri, 01 Feb 2002 21:54:02 +0000 |
| Subject: | Re: Re: Anyone Up? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83198@lists.php.net to get a copy of this message | ||
On Friday, February 1, 2002, at 03:05 PM, Lars Torben Wilson wrote:
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.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. :)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.
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 pricee@hhbrown.com