Attributes or not Attributes ?

Thierry Thelliez (tgt@lanl.gov)
Tue, 08 Sep 1998 16:03:58 -0600


--------------6A73FABEE1B7F8CD2E9B333D
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

>From the Microsoft site
http://www.microsoft.com/xml/tutorial/author_doc.asp

there is an example:

<books>
<book isbn="0345374827">
<title>The Great Shark Hunt</title>
<author>Hunter S. Thompson</author>
</book>
</books>

why isn't it:

<books>
<book isbn="0345374827" title ="The Great Shark Hunt" author="Hunter
S. Thompson"
</book>
</books>

or

<books>
<book
<isbn>0345374827</isbn>
<title>The Great Shark Hunt</title>
<author>Hunter S. Thompson</author>
</book>
</books>

So far I have understood that the 3 notations are legal. But are they
identical ?

Thierry

--

..................................................................... . Thierry Thelliez Los Alamos National Laboratory . . Email: tgt@lanl.gov CIC-15 . . Voice: (505) 665 8631 MS M310 . . Fax: (505) 665 5725 Los Alamos NM 87545 . . URL: http://www.lanl.gov/cgi-bin/phone/113845 USA . .....................................................................

--------------6A73FABEE1B7F8CD2E9B333D Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> >From the Microsoft site
http://www.microsoft.com/xml/tutorial/author_doc.asp

there is an example:

<books>
   <book isbn="0345374827">
     <title>The Great Shark Hunt</title>
     <author>Hunter S. Thompson</author>
   </book>
 </books>

why isn't it:

<books>
   <book isbn="0345374827" title ="The Great Shark Hunt" author="Hunter S. Thompson"
   </book>
 </books>

or

<books>
   <book
    <isbn>0345374827</isbn>
     <title>The Great Shark Hunt</title>
     <author>Hunter S. Thompson</author>
   </book>
 </books>

So far I have understood that the 3 notations are legal. But are they identical ?
 

Thierry
 

-- 

.....................................................................
. Thierry Thelliez                   Los Alamos National Laboratory .
.   Email: tgt@lanl.gov                                      CIC-15 .
.   Voice: (505) 665 8631                                   MS M310 .
.     Fax: (505) 665 5725                       Los Alamos NM 87545 .
.     URL: http://www.lanl.gov/cgi-bin/phone/113845             USA .
.....................................................................
  --------------6A73FABEE1B7F8CD2E9B333D--