P
Patrick
Hi
I'm programming a parser XSD for a Infopath form in C#. But my schema object
returns me no elements. This is my code :
using System;
using System.IO;
using System.Collections;
using System.Collections.Specialized;
using System.Xml;
using System.Xml.Schema;
....
XmlTextReader reader = new XmlTextReader(myschema.xsd);
Schema = XmlSchema.Read(reader);
XmlSchemaObjectTable schemaobjecttable;
schemaobjecttable = Schema.Elements; // --> schemaobjecttable .Count = 0 !!!
Can somebody tell me why it returns me no elements in my collection
schemaobjecttable ??? Is there another solution to parse a schema XML for a
Infopath form ?
Thx a lot.
I'm programming a parser XSD for a Infopath form in C#. But my schema object
returns me no elements. This is my code :
using System;
using System.IO;
using System.Collections;
using System.Collections.Specialized;
using System.Xml;
using System.Xml.Schema;
....
XmlTextReader reader = new XmlTextReader(myschema.xsd);
Schema = XmlSchema.Read(reader);
XmlSchemaObjectTable schemaobjecttable;
schemaobjecttable = Schema.Elements; // --> schemaobjecttable .Count = 0 !!!
Can somebody tell me why it returns me no elements in my collection
schemaobjecttable ??? Is there another solution to parse a schema XML for a
Infopath form ?
Thx a lot.