<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I have the following XML doc:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><screen></FONT></DIV>
<DIV><FONT face=Arial size=2><height> 480 </height></FONT></DIV>
<DIV><FONT face=Arial size=2><width> 640 </width></FONT></DIV>
<DIV><FONT face=Arial size=2></screen></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Another way of creating the same document would
be:</FONT></DIV>
<DIV><FONT face=Arial size=2> <screen height="480" width="640">
</screen></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Is there any difference in the two approaches in
terms of</FONT></DIV>
<DIV><FONT face=Arial size=2>1. Memory Consumption</FONT></DIV>
<DIV><FONT face=Arial size=2>2. Speed of Building the DOM</FONT></DIV>
<DIV><FONT face=Arial size=2>3. Speed of recursively searching the DOM say for
value of "width".</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>How can I determine which approach
is appropriate for my application.</FONT></DIV>
<DIV><FONT face=Arial size=2>Can anyone help me in choosing between the two.
</FONT></DIV>
<DIV><FONT face=Arial size=2>I am using XML4C2_3_1 on HP-UX and Win
NT.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Abhishek.</FONT></DIV>
<DIV><FONT face=Arial
size=2>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR>
_/
Abhishek Srivastava<BR>
_/
Hewlett Packard ISO <BR>
_/_/_/ _/_/_/ -------------------
<BR> _/ / _/
_/ (Work) +91-80-2251554 x1190<BR>_/
_/ _/_/_/ (Ip)
15.10.47.37
<BR>
_/
(Url) <A
href="http://sites.netscape.net/abhishes/index.html">http://sites.netscape.net/abhishes/index.html</A>
<BR>
_/
<BR>
Work like you don't need the
money.<BR>
Dance like no one is
watching.<BR>
And love like you've never been
hurt.<BR>
--Mark
Twain
<BR>
<BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR></FONT></DIV></BODY></HTML>