[XML-DEV Mailing List Archive Home]
[Reply To This Message]
Elements or Attributes
- From: "Abhishek Srivastava" <abisheks@i...>
- To: "xml dev mailing list" <xml-dev@i...>
- Date: Mon, 22 Nov 1999 12:56:59 +0530
I have the following XML doc:
<height> 480 </height>
<width> 640 </width>
Another way of creating the same document would
<screen height="480" width="640">
Is there any difference in the two approaches in
1. Memory Consumption
2. Speed of Building the DOM
3. Speed of recursively searching the DOM say for
value of "width".
How can I determine which approach
is appropriate for my application.
Can anyone help me in choosing between the two.
I am using XML4C2_3_1 on HP-UX and Win
Hewlett Packard ISO
_/_/_/ _/_/_/ -------------------
_/ / _/
_/ (Work) +91-80-2251554 x1190
_/ _/_/_/ (Ip)
Work like you don't need the
Dance like no one is
And love like you've never been
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please