Is there a way to generate Microsoft Bond schema from XSD schema? -


i want try out microsoft bond schema. have large xsd file , don't want manually create bond file. bond compiler provide api convert xsds bond?

no api exists directly convert xsd .bond file or bond schema.

the bond type system different xsd type system, there isn't 1-to-1 mapping. example, bond has no type represent duration of time. xsd has no map type bond's. (of course, conventions established map between type systems, no such conventions have become firmly established.)

sometimes people generate xsd schema hand-written c# types. if you're in situation, use bond's attributes decorate same types. then, ask bond runtimeschema of type, use mechanically generate .bond file.


Comments