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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Attributes or not Attributes ?

[ Lists Home | Date Index | Thread Index ]
  • From: Thierry Thelliez <tgt@lanl.gov>
  • To: xml-dev@ic.ac.uk
  • Date: Tue, 08 Sep 1998 16:03:58 -0600

>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 .
.....................................................................
 



 

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

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