Questions tagged [xsd]

7 questions
3
votes
3 answers

When to use 'nillable' in XML schemas

The absence of a datum in XML can be expressed either by omitting the element (minOccurs="0" in schema) or by setting it to xsi:nil="true" (nillable=true in schema). Using minOccurs=0 seem altogether cleaner and more consistent, and it doesn't…
JacquesB
  • 57,310
  • 21
  • 127
  • 176
1
vote
0 answers

Handle multiple similar structured XMLs in a Java project

We have a case scenario in our project where we are provided with a set of XSDs. These XSDs we converted to Java Pojos with the help of JAXB. After this we were suppose to update few values in the Pojo and converted back into the corresponding XML…
Sri9911
  • 115
  • 5
1
vote
1 answer

C# changing XSD's problem

I am trying to implement an ISO standard which by summary has the following: There are operations (like an action in MVC) There are respective request and response per operation These requests and responses have corresponding XSD's These XSD's are…
KaeL
  • 121
  • 6
1
vote
1 answer

Storing survey data from csv to xml

I've been tasked with taking a sample of survey results that are stored in CSV and to convert them to XML. I'm still fairly new to XML, but have come up with a couple of layouts I could use and was hoping I could get some advice on what way is best…
screencut
  • 43
  • 5
0
votes
2 answers

XSD Namespaces with W3.org

Apologies if this is a repeat of an older question but I did attempt to find a similar question and didn't have any luck. I'm going through the tutorials at www.w3schools.com for writing XSDs and XMLs. I have a basic understanding of namespaces but…
0
votes
2 answers

Tips and tricks in implementing XML or XML schema

First is I'm starting to build a standard XML format/structure for our users. The objectives are: XML that can be used for multiple organisations XML that can be used to map external system data to our system data XML structure should be in best…
rpmansion
  • 237
  • 3
  • 11
-1
votes
3 answers

Is it good style that calling setters follow the same order as XSD elements?

In the project I work on we use XSD to generate some classes. XSD determines the order of elements, similar to this snippet: