Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

F# XML Type Provider - Using an XSD

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.

like image 945
user3410575 Avatar asked Jan 30 '26 09:01

user3410575


1 Answers

FSharp.Data.Xsd augments the XML type provider of FSharp.Data with schema support.
https://fsprojects.github.io/FSharp.Data.Xsd/

like image 200
Brains Avatar answered Feb 02 '26 01:02

Brains