OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Searching of a record in a XML file

[ Lists Home | Date Index | Thread 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:


-- Ron

> Pranav wrote:
> Hi All,
>          I've a XML file and this file having around 1000 records. I
> using JavaScript DOM methods for searching the record. But it's taking
> 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?


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS