24.12.2012 Views

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

USING <strong>ER</strong>/STUDIO > EXPORTING THE DATA MODEL<br />

3 In the Property Value column of the properties pane, click the name of the include declaration and then type the<br />

URI of the schema.<br />

4 To create more include declarations, repeat steps 1 to 3.<br />

TIP: You can later edit the name of the include declaration or delete it by right-clicking its name under<br />

the Includes node and then selecting Edit or Delete.<br />

Import Referenced Namespaces<br />

The import declaration identifies a namespace whose schema components are referenced by the schema containing<br />

the import declaration.<br />

TIP: Use the import declaration to declare any namespaces not previously identified in the Schema<br />

Attributes on page 2 of the XML Schema Generation Wizard.<br />

1 In the Schema Body on page 4 of the XML Schema Generation Wizard, right-click Import and then select New.<br />

2 Type a name for the import declaration and then click OK.<br />

The new import declaration appears highlighted within the Import folder of the Schema Body tree and its<br />

properties display in the properties pane below.<br />

3 In the Property Value column of the properties pane, click the space next to the schemaLocation property and<br />

then type the URI of the schema document containing the imported namespace.<br />

4 In the Property Value column of the properties pane, click the name of the namespace declaration and then<br />

type the URI of the schema containing the namespace to import.<br />

5 To create more import declarations, repeat steps 1 to 3.<br />

TIP: You can edit the name of the import declaration or delete it by right-clicking its name under the<br />

Import node and then selecting Edit or Delete.<br />

Add Domains and Attributes to the Simple Types Section<br />

Domains can be included in the Simple Types or Complex Types sections of the Schema Body.<br />

NOTE: Dragging a domain that contains a subdomain into the Simple Types node does not include any<br />

of its subdomains in the schema.<br />

From the list of Available Objects, click a simple domain or attribute and then drag it to the Simple Types node in<br />

the Schema Body pane.<br />

The Simple Types node expands to show the newly added object.<br />

NOTE: If the target domain is for the simple type added, you can select the schema element, scroll<br />

through the properties, and change the default type and type prefix by clicking the Property Value<br />

list. The available namespaces are dependent on the namespaces declared on page 2 of the<br />

wizard.<br />

EMBARCAD<strong>ER</strong>O TECHNOLOGIES > <strong>ER</strong>/STUDIO® 8.0.3 US<strong>ER</strong> GUIDE 264

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!