Ravi wrote on 6/3/2000
>I found in some material on ELEMENTS vs ATTRIBUTES.
>ELEMENTS are prefered than using ATTRIBUTES. there was a suggestion to
>ATTRIBUTES as much as possible.
>using Date as attribute - non preferable
<body>Don't forget me this weekend!</body>
I may not be able to explain this well but I also saw no use for attributes
until I had to script against the DOM. In your example, if you find the
element node <note> the date is available without searching for child
elements. Because of this, attributes make my searches so much easier.
Lynda VanVleet | "Before one can
Testing Engineer | understand
Class I.Q. | recursion, one
[log in to unmask] | must understand
www.classiq.com | recursion."