- From: Singh, Ajit <Ajit.Singh@ind.xerox.com>
- Date: Mon, 15 Apr 2002 09:04:18 -0400 (EDT)
- To: xmlschema-dev@w3.org
- Cc: www-xml-schema-comments@w3.org
HI All We are having some problems, regarding getting Root Element(s) for XML instance against a given schema (programatically) ; One way which we have understood is "The root will be the element or type that is not referenced by any other complex type." Is this the only way to get Root Elements for the XML instance or there is some else which we have to know. Considering the Input schema can include/import/refer other schemas. The logic given is not working, because when we give the same schema to XML-Spy it gives Two root element i.e (A, B), But when we execute our code on the same schema it give Root elements as (B, C). This A Element has been refered in a Element. We are very confuse Is there some mojor role of NameSpace also, when u go to get RootElements from schemas. Please help Me/// Thanks Ajit Have a nice day
Received on Monday, 15 April 2002 13:37:24 UTC