When is an attribute an attribute?
Frank Boumphrey
bckman at ix.netcom.com
Tue Apr 7 02:35:23 BST 1998
Apart from the wrong type of slash in example 1, a typo I'm sure<g>, they
are all legal in XML.
Which you use ,I guess is up to you.
Frank
-----Original Message-----
From: Roy Tennant <rtennant at library.berkeley.edu>
To: xml-dev at ic.ac.uk <xml-dev at ic.ac.uk>
Date: Monday, April 06, 1998 3:54 PM
Subject: When is an attribute an attribute?
>I've been trying to figure this out for a while with no success. It seems
>to me that there are several quite different ways one can encode
>information in XML. Are all of the following correct? When and why would
>you choose one over another? Does it matter? Thank you for your indulgence
>as I puzzle out what must surely be readily apparent to most of you.
>
>Example 1:
>---------
>
><BOOK TITLE="The Call of the Wild" AUTHOR="London, Jack"\>
>
>Example 2:
>---------
>
><BOOK AUTHOR="London, Jack">The Call of the Wild</BOOK>
>
>Example 3:
>---------
>
><BOOK>
> <TITLE>The Call of the Wild</TITLE>
> <AUTHOR>London, Jack</AUTHOR>
></BOOK>
>
>Thanks,
>Roy Tennant
>
>
>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/
>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)
>
>
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/
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