J
jehugaleahsa
Hello:
I have defined an XSD that is used by one of my libraries. I have an
XML format that defines the mapping between database objects and
classes inside the application. I have moved the code for performing
the mapping into a separate library.
I have a class that can take a xml stream and cache the mappings.
However, that code is just as good as worthless unless I can validate
the XML. So, I have a cute little XSD. Now, when others use my
library, how do I access my schema? Do I make the schema a resource in
my library?
I obviously don't want to make the schema editable by others, so I
can't copy it to the output directory. I am just curious how others
would deal with the situation.
Thanks,
Travis
I have defined an XSD that is used by one of my libraries. I have an
XML format that defines the mapping between database objects and
classes inside the application. I have moved the code for performing
the mapping into a separate library.
I have a class that can take a xml stream and cache the mappings.
However, that code is just as good as worthless unless I can validate
the XML. So, I have a cute little XSD. Now, when others use my
library, how do I access my schema? Do I make the schema a resource in
my library?
I obviously don't want to make the schema editable by others, so I
can't copy it to the output directory. I am just curious how others
would deal with the situation.
Thanks,
Travis