Create XML file based on XSD

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi to all,<br/>
<br/>
Im try to implment a EPP client using vb.net.<br/>
Id like to creating an XML file based on XSD, following the <br/>
<br/>
procedure indicate in this article:<br/>
<br/>
http://www.codeproject.com/KB/XML/XSDtoDataset.aspx<br/>
<br/>
This procederure seems to be useful!<br/>
<br/>
So Id like to generate the dataset from XSD using xsd.exe command.<br/>
Id like to begin with file epp-1.0.xsd<br/>
<br/>
http://epp-ver-04.sourceforge.net/XRI/epp-xri-au/epp-1.0.xsd<br/>
<br/>
Ive used following command:<br/>
<br/>
xsd /d /l:VB epp-1.0.xsd<br/>
<br/>
But I get following error message<br/>
<br/>
Microsoft (R) Xml Schemas/DataTypes support utility [Microsoft (R) <br/>
<br/>
.NET Framework, Version 2.0.50727.42]<br/>
Copyright (C) Microsoft Corporation. All rights reserved.<br/>
<br/>
Writing file epp-1.0.vb.<br/>
<br/>
Error: There was an error processing epp-1.0.xsd.<br/>
- Error generating code for DataSet .<br/>
- Impossibile convertire in un DataSet il contenuto del file XML <br/>
<br/>
di input. Tipo di dati non definito: token.<br/>
- Tipo di dati non definito: token.<br/>
<br/>
If you would like more help, please type "xsd /?".<br/>
<br/>
Can you provide me some suggestion about?<br/>
In your opinion the tecniques to creating an XML file based on XSD could be a good solution?<br/>
<br/>
Thank you very much!<br/>
Happy new year!<br/>
<br/>
Maurizio

View the full article
 
Back
Top