Attributes or not Attributes ?
Thierry Thelliez
tgt at lanl.gov
Wed Sep 9 00:13:59 BST 1998
>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 at 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 .
.....................................................................
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ic.ac.uk/pipermail/xml-dev/attachments/19980908/acfc0479/attachment.htm
More information about the Xml-dev
mailing list