Udostępnij za pośrednictwem


XmlImport Collection Editor Dialog Box

Allows you to add or remove <import> elements to the current XML Schema. The <import> element identifies the namespace and location of imported schemas. The XmlImport Collection Editor appears when you are using the Properties window and click the ellipsis button next to the import property of an XML Schema.

  • Members
    Lists all <import> elements in the current collection. An unlimited number of <import> elements may be added to the collection.

  • Properties
    Lists the individual properties of the <import> element selected in the Members area.

    • id (optional) - the identifier of this <import> element. This must be a unique ID for this document. The id must be of type ID.

    • namespace (optional) - the URI (Uniform Resource Identifier) reference to the namespace to import.

    • schemaLocation (optional) - the URI reference to the location of a schema document for the imported namespace.

      Note

      The namespace and schemaLocation must be of type anyURI.

  • Add
    Adds a new <import> element to the collection.

  • Remove
    Deletes the selected <import> element from the collection.

See Also

Other Resources

XML Schemas (XSD) Reference

XML Tools in Visual Studio

XML Documents and Data