CSharp examples for System.Xml:XML Schema
Get Complex Type from XML Schema
using System.Xml.Schema; using System.Xml; using System.Text; using System.Linq; using System.Diagnostics; using System.Collections.Generic; using System.Collections; using System;//from w w w .j a v a 2 s . co m public class Main{ public static XmlSchemaComplexType GetComplextType(XmlSchemaElement element) { if (element.ElementSchemaType is XmlSchemaComplexType) return element.ElementSchemaType as XmlSchemaComplexType; return null; } }