Re: XSD Class Generation

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Although I managed to make it working, it again failed when I tried to use the object.
It failed to convert it into XML and gave me the following error:
There was an error generating the XML document.

(After merging included xsd's into one, in the class representation I've split them into proper files while all of them are in the same namespace)

I will try the other tools where the first one is xsd.exe (I hope it will help me out)
I will post my results.

--

Sevket Seyalioglu
CTO
www.kbstours.com
"SevDer" <sevder@xxxxxxxxxxxxxxxx> wrote in message news:uYOEi7d5HHA.5160@xxxxxxxxxxxxxxxxxxxxxxx
I managed to work with it by combining included xsd.

Actually the included XSD also includes another one and I think thats where I fail.

--

Sevket Seyalioglu
CTO
www.kbstours.com
"Yaron Karni" <yaron.karni@xxxxxxxxx> wrote in message news:88A2E09D-70B6-4182-B136-E56190A813C1@xxxxxxxxxxxxxxxx
i already worked with xsd with reference (using the XSDObjectGen app), so it
seems very strange.
--
Sincerely
Yaron Karni
http://dotnetbible.blogspot.com/


"SevDer" wrote:

Hello Yaron,

This is also a great tool.
However I still have the same problem.
The problem I am experiencing is, my xsd files are including other xsd files
and as a result when converting, they are unable to find certain types which
are included in the include xsd files.
I think those tools do not work with included xsds

--

Sevket Seyalioglu
CTO
www.kbstours.com
"Yaron Karni" <yaron.karni@xxxxxxxxx> wrote in message
news:17267F9A-17C3-411E-A898-C3ADE257971D@xxxxxxxxxxxxxxxx
> check XSDObjectGen.msi for .net 1.0 also have a look at :
> http://devauthority.com/blogs/ram_marappan/archive/2006/10/03/4755.aspx
>
> -- > Sincerely
> Yaron Karni
> http://dotnetbible.blogspot.com/
>
>
> "SevDer" wrote:
>
>> Hi,
>>
>> Can someone tell me how to generate classes from XSD files?
>> Is there an easy way to convert it into typed datasets etc?
>>
>> Or any other suggestion is welcomed.
>>
>> -- >>
>> SevDer
>> http://www.sevder.com
>>




.



Relevant Pages

  • Re: Convert an untyped Data Table to a typed Data Table
    ... I am assuming I need to convert the table to XML ... It will create the dataset, the datatables, ... It feeds on XSD files and generates datasets ... You may edit the XSD to your liking (for example, ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Treat a DataSet as a class structure
    ... I'm now able to create and populate my XML and XSD files correctly. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: XML-XSD Processing/Creation.
    ... So i'm working with the WITSML standard, ... massive standard defined in XML for the transfer of oilfield data. ... There are a ton of XSD files for defining and checking all data in the ...
    (comp.lang.python)
  • Re: Schemas
    ... where to get .xsd files or how to write them. ... I just worked my way through "Office 2003 XML for Power Users" from Apress, ... "I am also having problems validating a schema. ... BTW, there's a office.xml newsgroup. ...
    (microsoft.public.word.docmanagement)
  • Re: XSD Class Generation
    ... Actually the included XSD also includes another one and I think thats where I fail. ... Sevket Seyalioglu ... "Yaron Karni" wrote in message ... The problem I am experiencing is, my xsd files are including other xsd files ...
    (microsoft.public.dotnet.languages.csharp)