OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   When is an attribute an attribute?

[ Lists Home | Date Index | Thread Index ]
  • From: Roy Tennant <rtennant@library.berkeley.edu>
  • To: xml-dev@ic.ac.uk
  • Date: Mon, 6 Apr 1998 15:51:49 -0700 (PDT)

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:

   <TITLE>The Call of the Wild</TITLE>
   <AUTHOR>London, Jack</AUTHOR>

Roy Tennant

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS