Forgive a newbie question. I'm learning the .NET XML environment.
In the walkthrough on using XML designer to create an xsd, there is no
discussion of the root element of the target xml document. I realize that the
namespace specifying the xsd is an attribute of the root element of an xml
document conforming to the xsd, so is logically outside the xsd.
I built a simple schema, then added an XML document, added a root element to
the document, and specified an xmlns attribute to link in the schema. The
correct schema is shown in the document property, and intellisense shows the
elements from the xsd. Its all good. Added data using the grid.
Issue is I get a warning on the root element line telling me "The <my schema
name>:<my root element nameis not declared.
What am I missing?
Thanks all.
-Dave
--
David Hill
Scaled Components, LLC