I am environmental professional who does programming on the small projects we get occasionally. The current project that I am working on is for internal use. Our company has a library of reference material and we want to better organize our filingsystem. My thought was to use XML and build an windows app using C#. I am a novice to both of these technologies but my main reason to use them is because I think it would be fun.
The main task that I have to develop is to return results of a keyword search. The reference material will have this structure:
Title
Publication Name
Description
Bin
By searching the Description field the system would return a result set containing all the elements of each reference material.
Being a newbie I have started the learning process. From what I understand xpath is what I should be using. Looking over the refernece book I did not see any methods that will search the contents of an element using a search string.
For example if I hadthis description:
“The geology of the Pacific Northwest is varied, and its expression in the landscape is a major factor in the scenic beauty of this region.”
And I did a keyword search of “Geology + Northwest”
The program would return thisresult because the description contains both keywords.
Any suggestions on how to achieve this using XML and C# would be greatly appreciated.
Best regards,
Mike Boynay
Senior Geologist