Questions tagged [xsd2code]

Xsd2Code is a CSharp or Visual Basic Business Entity class Generator from XSD schema.

Xsd2Code is a CSharp or Visual Basic Business Entity class Generator from XSD schema.

Available for visual studio

(Pro, Ent) 2017, 2015, 2013, 2012, 2010 & command line Frameworks supported

.Net 2.0, 4.6x, Net Code 3.0, .Net Standard, Xamarin Supported languages

100% native .Net C #, VB XML & JSON serialization

Generates the code to transform objects into either XML or JSON Customizable Code

119 questions
0
votes
0 answers

how to add xml schema

I have a XML schema xsd which i converted into a cs file using Xsd2Code tool in visual studio, What I am currently doing is, // ignore syntax please as hand written Public Method_1() { Fruits f = new Fruits(); f.Name = "Mangoes"; Foreach (DataRow…
Mathematics
  • 7,314
  • 25
  • 77
  • 152
0
votes
1 answer

how to change the minoccur value in XSD, from C#

I am creating a utility to convert the Dataset into xsd file. i am Reading data from database and creating dataset For creation of XSD file i am actually creating a Dataset and Datatable and then i am using Dataset.WriteXMLSchema() to write the xsd…
New Coder
  • 501
  • 2
  • 6
  • 23
0
votes
2 answers

XSD2Code namespace issue

I am using XSD2Code to generate C# class from XSD file. I got stuck with the following problem. XML file looks something like
mko
  • 6,638
  • 12
  • 67
  • 118
0
votes
1 answer

Complex XML Parsing in C#

I need to parse a complex and large (100 MB+) XML file. Fortunately I have XML Schema definitions, but unfortunately I can not use xsd2code to generate an automatic XML deserialization, because there are abstract message types used on the top level…
weismat
  • 7,195
  • 3
  • 43
  • 58
0
votes
1 answer

WSDL-XSD to PL\SQL

Hers my problem: we have a web service that we need to invoke from PL\SQL. I want a tool similar to this http://www.liquid-technologies.com/XmlDataBinding/Xml-Schema-To-VB.aspx, only for PL\SQL. In java, you can pass the WSDL file and the API will…
Anas Dawood
  • 101
  • 2
  • 8
0
votes
1 answer

XML complexType with element that ends up as "XmlElement"

In my XSD, I have something similar to this:
Paul
  • 9,409
  • 13
  • 64
  • 113
0
votes
3 answers

Free tool / extension to convert XSD to C# with working annotations

Is there any tool or version of XSD2Code or xsd.exe that can generate C# entities together WITH comments from XSD2Code? Both XSD2Code and xsd.exe ignore annotations (for XSD2Code, EnableSummaryComment just doesn't work well) and I don't want to…
Mirek
  • 4,013
  • 2
  • 32
  • 47
0
votes
1 answer

Error converting PMML XML Schema (xsd) to C# Object using Xsd2Code

I tried to create C# object from PMML 3.0 Schema (PMML 3.0 Schema) using Xsd2Code (Xsd2Code), but all I got was following error: Error: Multiple definition of element 'http://www.dmg.org/PMML-3_0:Array' causes the content model to become ambiguous.…
MattheW
  • 808
  • 11
  • 25
0
votes
1 answer

"System.InvalidOperationException" - xsd XSD2Code Stylesheet XML C# Visual Studio

I created an .xsd from an xml file using XSD.Exe from the Visual Studio Tools (now Win 7 SDK Tools). My .xsd file:
Master117
  • 660
  • 6
  • 21
0
votes
1 answer

Modifying code generated from XSD schema

I have some 5 XML calls to be implemented in C#. I used Xsd2Code to auto generate the code, and I am quite happy with the results. My problem, however, is that all the XML calls have same request response TypeName, as follows: XML Call - 1:
bhootjb
  • 1,501
  • 1
  • 21
  • 33
0
votes
1 answer

Using non default types within a xsd definition for xsd2code when generating C# code

In our project we are using Xsd2Code to generate c# code. The XSD I am trying to adjust looks like this:
Thomas Huber
  • 1,282
  • 1
  • 13
  • 23
-1
votes
1 answer

xsd2code element gets replaced by list

i have the following code in my *.xsd file ...
Yellown
  • 426
  • 2
  • 6
  • 16
-1
votes
1 answer

import in XSD and its implementation

I have 2 separate XSDs with some common attributes. I want to create another XSD and put all my common attributes in the separate XSD and import them in the 2 XSDs i have already rather than repeating them or duplicating them in both the XSDs. Is…
nisha
  • 703
  • 2
  • 14
  • 28
-2
votes
1 answer
1 2 3 4 5 6 7
8