xml:id

TorgoX on 2004-04-12T03:41:46

Dear Log,

xml:id! Finally.


in english?

brev on 2004-04-12T07:25:35

So <sometag id="foo"/> just acquired some universal meaning it didn't have before?

There's no specified way to address these IDs, so what makes it more useful XPathing some random attribute? Or can we assume a URI #fragment now addresses the ID?

Re:in english?

TorgoX on 2004-04-21T06:24:13

Well, it used to be that there was no way to say "this attribute 'id' is an ID attribute", unless you used a DTD, and DTDs are apparently being skooched toward on the oddly-unofficial dustbin of history.

So now xml:id="whatever" has been declared a new universal way to say "this element's ID is 'whatever'".