Hi all,
i am working on XML documents, i am more concerned
about the performance
of my application.
i know there are two ways (may be more) of processing
the XML document
say first method is
document.getElementsByTagName("blah blah");
which will return all the elements by that name as
NodeList, then traversing though
all the NodeList. that is one way
in another way you can use
Element ele = XPathAPI.selectSingleNode("blah blah");
my question is which is the best to use, i mean which
one is faster. and more efficient
thanks and regards
Jeong Ahn
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com