- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Sun, 26 Apr 2009 23:39:11 -0400
- To: James Hopkins <james@idreamincode.co.uk>
- CC: Aryeh Gregor <Simetrical+w3c@gmail.com>, "www-style@w3.org" <www-style@w3.org>
James Hopkins wrote: > I'm not too hot on my XML, but after having done some research on how > ATTLIST declarations are able to map name-value pairs with elements, and > xml:id, it appears that only one token is allowed for type ID. Correct. > Are you saying that DOM3 (I presume you mean this feature? > (http://www.w3.org/TR/DOM-Level-3-Core/core.html#Attr-isId)), extends > this so we're able to match a subset of ID tokens, like we can currently > with the class attribute in HTML? No. > If this is the case, then > #valid#selector would presumably correctly match the space-separated > type ID values, 'valid' and 'selector'. No, but it'd match <node id1="valid" id2="selector"> where both attributes are of type ID. -Boris
Received on Monday, 27 April 2009 03:40:22 UTC