XML Schema

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi all,
I have a question about how to use XSD Schema to validate XML format.
I have already program successfully to validate XML format using XSD schema. However, I need to put the xx.xsd in main location of current project. Is there anyway to embed the xsd schema to the assembly so that I do not need to always put xxx.xsd
to the same location of the executable assembly. I have tried to embed it to resources of the project, but it seems that I am not able to resgen a XSD file when using VS command prompt like this resgen xxx.xsd. It says the extension is not support by this
command.
Are there any other ways to resolve this problems.
Any suggestions are appreciated.

View the full article
 
Back
Top