Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

XML indexing ?

0 views
Skip to first unread message

Janiv Ratson

unread,
Jul 11, 2005, 12:24:17 PM7/11/05
to
Hello,
I have an MFC application.
In one of my screens the user need to choose a driver from a list of
thousands drivers.
We cannot use DB, so we use XML only.
The drivers files are in the system files every manufacturer has its own
directory and every model in the manufacturer directory has its own
directory too (many many directories and sub-directories), each model
directory has few files (driver files).
I need a very fast way to show the user all the manufacturers and when he
chooses the manufacturer I need to display all the chosen manufacturer's
models (dirs). After the user chooses the model name, the appropriate files
are copied to a specific location.
For now on every display of that screen, I go over the file system and
prepare the controls from the File System, which takes me too long time.
How do I do it faster, maybe using indexing files(that will be prepared on
my application launch).
Thanks,
Janiv Ratson.


Oleg Tkachenko [MVP]

unread,
Jul 11, 2005, 12:53:44 PM7/11/05
to
Well, as you ask in dotnet groups too I presume you can be interested in
.NET solutions too. Then take a look at "XML Indexing Part 1: XML IDs,
XSLT Keys and IndexingXPathNavigator" article at
http://msdn.microsoft.com/library/en-us/dnxmlnet/html/XMLindexing.asp
--
Oleg Tkachenko [XML MVP, MCAD]
http://www.xmllab.net
http://blog.tkachenko.com

Raffaele Rialdi [MVP]

unread,
Jul 11, 2005, 5:26:26 PM7/11/05
to
Janiv Ratson wrote:
[...]

1. Please don't crosspost!
2. The .IT hierarchy means "ITalian" so you should post into Italian
language here

--
Raffaele Rialdi
Microsoft .NET MVP http://mvp.support.microsoft.com -
http://italy.mvps.org UGIdotNET - User Group Italiano .NET
http://www.ugidotnet.org Weblog: http://blogs.ugidotnet.org/raffaele

0 new messages