Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [xsd]

XML Schema Document (XSD) is a document written in the XML Schema language, typically containing the "xsd" XML namespace prefix and stored with the ".xsd" filename extension. It can be used to express a set of rules to which an XML document must conform in order to be considered 'valid' according to that schema.

Filter by
Sorted by
Tagged with
1 vote
0 answers
110 views

XML Schema for version numbers

I started this side project years ago. The goal is to eventually provide tooling that can process version strings based on the schema defined in an XML file (example provided below). I wrote this XSD ...
jwdonahue's user avatar
  • 111
1 vote
0 answers
34 views

XML and XML schema definition

I want to define the XML schema for an XML representation of shopping order data. See following requirements The XML representation of order should contain order id, description, request date, ...
Ashish Pawar's user avatar
1 vote
1 answer
2k views

Generate c# classes through XSD.exe automatically based on embedded resources in assembly

This program is supposed to take every embedded XML Schema file in an assembly and generate classes in the csOutPath. The names of the classes and files should match the stored schema and be put in ...
nelsontruran's user avatar
1 vote
1 answer
70 views

XSD Schema for optical media

I recently wrote my first XSD Schema: ...
user avatar
3 votes
1 answer
2k views

Validate XML using XSD, a Catalog Resolver, and JAXP DOM for XSLT

Background As this related question describes, there does not appear to be a canonical way to validate XML files against an XSD then subsequently transform them using an XSL template with file paths ...
Dave Jarvis's user avatar
  • 1,907
0 votes
1 answer
2k views

Finding the minimum of two numbers [closed]

For this flowchart on finding the minimum of 2 numbers: I've created XML for this flowchart: ...
Mohammad Fanni's user avatar
3 votes
1 answer
103 views

XML Schema File that validates my XML File

I just want to know if my schema file is correct: XML File: ...
user avatar
3 votes
1 answer
150 views

XML schema for Database Unit Tests

I am attempting to develop an XML schema (XSD) to represent a set of unit tests for some code. (Specifically, I am testing Oracle PL/SQL stored procedures.) I would like to have something that ...
Allan Lewis's user avatar
3 votes
1 answer
700 views

Eliminating unwanted namespaces

I am trying to eliminate unwanted namespaces, and I know there's a better way to do this. This code works, but it's remedial and redundant. ...
plditallo's user avatar
  • 251
3 votes
2 answers
12k views

XML schema parser

I've been working on a lightweight XML schema parser, and have what I think is a moderately clean solution (some parts helped out by previous questions I posted here) so far for obtaining all schema ...
Mike J's user avatar
  • 87
6 votes
1 answer
3k views

XML Schema for an XML representation of CSV

This is intended to be part of a generalised solution to the problem of converting any (with some minor restrictions) CSV content into XML. The restrictions on the CSV, and the purpose of the schema ...
Sean B. Durkin's user avatar
5 votes
1 answer
6k views

Convert XSD to JSONSchema

This code is still very naive. I am trying to convert an existing XSD to JSONSchema. Firstly, pardon the variable names (I know some are really just stupid but I will fix them once I get all the ...
ashutosh raina's user avatar