[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Text based search or Xpath search


python textfile
A raw text file search should be way faster, but it really depends on 
how you're doing the search.

Bob

Ram Sundar wrote:
 > Hi,
 >
 >     I have a text file that contains all the meta data of documents and
 > folders like name, created date, modified date, owner etc. I generate
 > this text file everytime a user wants to search for the meta data
 > through python. I have a web interface where the user can input the
 > necessary parameters he/she wants to search for. But, this operation of
 > reading the information from the text file is slow. It becomes extremely
 > slow, if there is quite a lot of information to go through, naturally.
 >
 > Now, I was thinking that I can store the meta data as an XML file
 > instead and use the XPATH option available in python to retrieve the
 > necessary information.
 >
 > Do you guys think that storing the data in an XML file and using the
 > XPATH search will be faster than the text file search?
 >
 > Thanks for you input in advance,
 >
 > Ram


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

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 click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.