[closed] Re: Proposal: Subid (Attribute)

/ "Benjamin Hartung" <acc10-2005-67@gmx.de> was heard to say:
| 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)? 

Thank you for your comment.

| 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?

You are correct, the feature you are requesting does not exist in XML
1.0 or XML 1.1.

| 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!

The Core WG has considered your request but observes that the goal of
xml:id is to make the existing ID functionality available without any
declarations.

Implmenting your suggestion would add a fundamentally new feature to
XML and there is no support in the Core WG for attempting to do that
in the xml:id specification.

With respect, we decline to make any changes based on this comment.

                                        Be seeing you,
                                          norm

-- 
Norman.Walsh@Sun.COM / XML Standards Architect / Sun Microsystems, Inc.
NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.

Received on Tuesday, 6 September 2005 14:24:08 UTC