Proposal: Subid (Attribute)

Dear Ladies and Gentlemen,

may I suggest the introduction of an attribute called (for example) "subid"
whereof the id of en element can get automatically derrived by a predifined
mechanism (e.g. extensioning with a dot)? 

Example: 

<rootElement>
 <anElement id="1">
  <anotherElement subid="1">
  </anotherElement>
 </anElement>
</rootElement>

being equal to 

<rootElement>
 <anElement id="1">
  <anotherElement id="1.1">
  </anotherElement>
 </anElement>
</rootElement>

I am not aware that such a mechanism as fundamental XML issue is in place
already. Or am I wrong?

I consider this idea some very helpfull improvement to XML as it simplifies
generating IDs and would allow DOM search by subid resulting in series of
elements (e.g. sort of content by multiple dimensions). 

Thanks in advance for your answer!

Yours sincerely,
Benjamin Hartung, 
Dresden, Germany 

Received on Wednesday, 10 August 2005 07:14:19 UTC