joecool2005 Posted January 23, 2008 Share Posted January 23, 2008 Hi,I have a directory that have 50 000 XML file.All the files have a tag like this <name>John</name> I want to search a file that has a specific name(i.e. Mike) but I always get a script timeout because I have to loop on each file.Do you know a fast way to search inside the XML file? Link to comment Share on other sites More sharing options...
boen_robot Posted January 23, 2008 Share Posted January 23, 2008 To put it simple - no.You can use a stream based parser (I think that, like in PHP, it was named XMLReader) to keep memory low, but you still need to search every file. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.