Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

XSD /l:cs /class adac_410.xsd adac_sewer.xsd Multiple files

$
0
0

To XML Forum

This is a new question related to my initial trial to understand how to get a nullable class structure to work in the XMLreader.

I am trying to generate classes from xsd files and in the full ADAC version there are 16 different xsd files.  One for each type of object sewer, storm, water etc and One file for the base generic objects used in most major objects :- a point, a polyline, simple path, complex path for geometry.  Each file name is 30 chars so that is 480 chars for all the names.

I am trying to generate the C# files and it says the line length exceeds 260 chars.  Can I put the file names in a parameter file as one per line.  That is the most common approach to this style of problem.

Is there a simple way to do the XSD so that all the dependencies are obeyed.  The main XSD works on its own.

XSD /l:cs /class adac_v410.xsd adac_sewer.xsd Multiple files

Decided to write a simple reader of the XML file so I can debug the xmlreader and make it verbose as it goes through the file.  I will just write out a simple text file of the values to test the file structure.

With thanks...

John Keays


John Keays


Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>