Click here to Skip to main content
11,575,925 members (57,229 online)
Click here to Skip to main content
Add your own
alternative version

Parsing XSD Schema with SOM

, 13 Oct 2008 CPOL 32.7K 944 25
Pull metadata from a schema or generate XML mappers
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
  <xs:element name="HelloXSD">
        <xs:element name="AnotherElement" type="xs:string" minOccurs="0" />
        <xs:element name="MyElement" minOccurs="0" maxOccurs="unbounded">
            <xs:attribute name="MyAttribute" type="xs:string" />
            <xs:attribute name="CreatedAttribute" type="xs:string" />
  <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="HelloXSD" />

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Engineer Big Company
United States United States
My professional career began as a developer fixing bugs on Microsoft Word97 and I've been fixing bad habits ever since. Now I do R&D work writing v1 line of business applications mostly in C#/.Net.

I've been an avid pilot/instructor for 13+ years, I've built two airplanes and mostly fly gliders now for fun. I commute in an all-electric 1986 BMW 325 conversion.

I'd like to get back to my academic roots of programming 3D analysis applications to organize complex systems.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150603.1 | Last Updated 13 Oct 2008
Article Copyright 2008 by CodingBruce
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid