# FSharp.Data XmlProvider - No 'Schema' Parameter?

**URL:** <https://forums.fsharp.org/t/fsharp-data-xmlprovider-no-schema-parameter/469>\
**Category:** General\
**Tags:** beginners\
**Created:** [September 11, 2018, 6:18pm UTC](https://forums.fsharp.org/t/fsharp-data-xmlprovider-no-schema-parameter/469 "2018-09-11T18:18:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jort](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@jort](https://forums.fsharp.org/u/jort)\
**Post date:** [September 11, 2018, 6:18pm UTC](https://forums.fsharp.org/t/fsharp-data-xmlprovider-no-schema-parameter/469/1 "2018-09-11T18:18:41Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![DaveShaw](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.fsharp.org/daveshaw/32/1225_2.png) [@DaveShaw](https://forums.fsharp.org/u/DaveShaw)\
**Post date:** [September 11, 2018, 8:06pm UTC](https://forums.fsharp.org/t/fsharp-data-xmlprovider-no-schema-parameter/469/2 "2018-09-11T20:06:03Z")

</div>

The support for Schema’s was only added in [FSharp.Data 3.0.0 Beta 4](https://github.com/fsharp/FSharp.Data/releases/tag/3.0.0-beta4)

I’ve just tried to nuget install that version locally to test but I’m getting an error with Nuget Install on Full Framework:

> ~\Source\FS\> .\NuGet.exe install FSharp.Data -Version 3.0.0-beta4  
> Attempting to resolve dependency ‘FSharp.Core (= 4.0.0.1)’.  
> Attempting to resolve dependency ‘FSharp.Core (= 4.3.4)’.  
> Unable to resolve dependency ‘FSharp.Core (= 4.3.4)’.

It seems to work OK on .NET Core though.

---

<div class="post-metadata">

**Author:** ![jort](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@jort](https://forums.fsharp.org/u/jort)\
**Post date:** [September 11, 2018, 8:16pm UTC](https://forums.fsharp.org/t/fsharp-data-xmlprovider-no-schema-parameter/469/3 "2018-09-11T20:16:43Z")

</div>

Thank you Dave! I didn’t consider that I might need a newer version, since my setup is so new. I’ll have to see what I can do to get that Beta to work.

Best Regards!  
-Jack
