Hey.
I am looking for a way to parse multiple XML files in a specific directory using ASP.NET (C #). I would like to be able to return content from specific elements, but before that I need to find those that have a specific value between the element.
Example XML file 1:
<file>
<title>Title 1</title>
<someContent>Content</someContent>
<filter>filter</filter>
</file>
Example XML file 2:
<file>
<title>Title 2</title>
<someContent>Content</someContent>
<filter>filter, different filter</filter>
</file>
Example 1:
Give me all the XML that has the filter 'filter'.
Example 2:
Give me all the XML that has the title "Title 1".
Looking, it looks like this should be possible with LINQ, but I saw only examples of how to do this when there is one XML file, and not when there are multiple ones, for example, in this case.
I would prefer it to be done on the server side so that I can cache for this purpose.
.NET Framework.
!
~