Lists Home |
Date Index |
1) If you are using an XML document as a database, think twice. As you
have noticed, it's not very efficient, and by the time you finish adding
everything you need to make it efficient / useful / etc., you'll have
built a DBMS. It's generally easier to buy / download one instead.
2) If you do have a good reason to search through an XML file for a
given record -- ad hoc queries of documentation are a good example of
such a reason -- you'll get far better performance if you index the XML
document and build software that can use the index. This is one type of
native XML database. For example, see:
> Pranav wrote:
> Hi All,
> I've a XML file and this file having around 1000 records. I
> much time in this searching. Is it due to because of I am using DOM
> method? Is there any way so that I can reduce this searching time?