Using ID's usefully ?
Paul Prescod
paul at prescod.net
Fri May 21 17:46:14 BST 1999
Winton Davies wrote:
>
> Thanks for getting this far! This is as trivial an example as I could
> make it - I hope the problem is clear: Principled re-use of ID's, and
> ELEMENT TYPING of ID's.
Maybe you should say what you are trying to do at a higher level. ID's are
designed to mark an element in a document. Therefore reusing the ID is not
useful. If you want to "reuse" an element then you could express that with
IDs:
<a><b><reference-to-c target="ABC"/></b></a>
<c id="ABC">
Your higher level code would have to implement the semantic of element
reuse.
--
Paul Prescod - ISOGEN Consulting Engineer speaking for only himself
http://itrc.uwaterloo.ca/~papresco
Alabama's constitution is 100 years old, 300 pages long and has more than
600 amendments. Highlights include "Amendment 393: Amendment of Amendment
No. 351", "Validation of Laws Regulating Court Costs in Randolph County",
"Miscegenation laws", "Bingo Games in Russell County", "Suppression
of dueling". - http://www.legislature.state.al.us/ALISHome.html
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list