Hello, new to F# (and VS Code) so I assume I’m doing something wrong.
Examples here show use of an XML Schema to provide the data provider sample:
http://fsharp.github.io/FSharp.Data/library/XmlProvider.html
However when I try to use the Schema parameter as done here:
#load “H:/FSharp_Projects/packages/FsLab/FsLab.fsx”
open FsLab
open FSharp.Data
type Mdsolodm = XmlProvider<Schema = “H:/FSharp_Projects/XmlTests/ODMSchema2015.3.0/ODM1.3.1/mdsol.xsd”>
I get this error:
XmlProvider_noSchema.fsx(9,29): error FS3082: No static parameter exists with name ‘Schema’
but I am able to use a sample XML file successfully. Should the Schema parameter be available to me, or is the documentation out of date?
Many thanks!
-Jack