Something like this ought to work:

1
2
3
4
5
6
7
8
#r "System.Xml.Linq"

open System.Xml.Linq


[| @"C:\Apple\Foo.xml"; @"C:\Apple\Banana\Foo.xml"; @"C:\Apple\Banana\Cherry\Foo.xml" |]
|> Array.Parallel.map (fun path -> path, XDocument.Load path)
|> dict
By on 2/11/2011 12:06 PM ()

That's a perfect example. Thank you very much :)

By on 2/11/2011 12:47 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper