XML Schema Collections

An XML schema collection provides the following:


PowerDesigner models XML schema collections as extended objects with a stereotype of <<XMLSchemaCollection>>.

Creating an XML Schema Collection

You can create a XML schema collection in any of the following ways:


  • Select Model > XML Schema Collections to access the List of XML Schema Collections, and click the Add a Row tool.

  • Right-click the model or package in the Browser, and select New > XML Schema Collection.

XML Schema Collection Properties

You can modify an object's properties from its property sheet. To open a XML schema collection property sheet, double-click its diagram symbol or its Browser entry in the XML Schema Collections folder.

The following extended attributes are available on the Microsoft tab:

Name

Description

Owner

Specifies the name of a user, role, or schema as the owner of the schema collection.

Scripting name: Owner

XML model

Specifies a PowerDesigner XML model to link to the schema.

Scripting name: XMLModel

Content

Specifies the content of the xml schema. By default this field contains the %xmlModelContent% template, which represents the content of the linked XML model.

Scripting name: Content