Multi-valued attributes

James Tauber jtauber at jtauber.com
Tue Mar 16 00:02:26 GMT 1999


John Cowan wrote:
> Can SGML tribal elders report on any actual uses of IDREFS and ENTITIES?


Marcus Carr:
>Certainly - come closer to the fire, my son...
>
>Actually, I can't think of a particularly good application for IDREFS
[...]

How about when you want to reference more than one ID from the one element?
:-)

I came close to using IDREFS for xmlsoftware.com and the only reason I
didn't was the lack of support in XSL.

xmlsoftware.com is a single XML document with two main sections, a list of
categories with descriptions and a list of software. Each category has an
ID. IDREFS could be used for associating products with one *or more*
categories:

    <Product Categories="editor browser">...</Product>

James
(not an SGML tribal elder)





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