[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[xml-dev] Re: determining ID-ness in XML
- From: Leigh Dodds <ldodds@ingenta.com>
- To: xml-dev <xml-dev@lists.xml.org>
- Date: Mon, 05 Nov 2001 14:30:03 +0000
Out of interest, what about this?
http://www.foo.com#foo=bar (Assuming the '=' is escaped)
Would select the element(s) whose foo attribute has the
value 'bar'? One could distinguish this form from #foo easily
enough.
Sure, it doesn't guarantee uniqueness, but the CSS people thought a
similar work around to the lack of IDs was good enough for them.
Why not here?
I know it's hacky and not 'right', but it seems low impact.
Just curious...
Cheers,
L.
--
Leigh Dodds, Research Group, Ingenta | "Pluralitas non est ponenda
http://weblogs.userland.com/eclectic | sine necessitate"
http://www.xml.com/pub/xmldeviant | -- William of Ockham