Reputation: 427
I am probably missing the boat here, but how can you build a reusable tool that uses the XML Type Provider if the XML you are giving to XMLProvider doesn't have all of the possible elements? In other words, is there any way to use an XSD? I know I could try to generate sample XML from an XSD but I'm wondering if I am approaching this incorrectly.
Upvotes: 15
Views: 2279
Reputation: 664
FSharp.Data.Xsd
augments the XML type provider ofFSharp.Data
with schema support.
https://fsprojects.github.io/FSharp.Data.Xsd/
Upvotes: 1