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
1answer
775 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 ...
1
vote
1answer
62 views

XSD Schema for optical media

I recently wrote my first XSD Schema: ...
3
votes
1answer
1k 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 ...
0
votes
1answer
784 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: ...
3
votes
1answer
79 views

XML Schema File that validates my XML File

I just want to know if my schema file is correct: XML File: ...
3
votes
1answer
131 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 ...
3
votes
1answer
628 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. ...
3
votes
2answers
9k 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 ...
6
votes
1answer
2k 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 ...
5
votes
1answer
4k 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 ...