Manuals
/
Sybase
/
Power Tools
/
Impact Driver
Sybase
XML
manual
Sybase PowerDesigner, 11.1
Models:
XML
1
1
290
290
Download
290 pages
48.58 Kb
1
2
3
4
5
6
7
8
Objects in a diagram
Group Symbols feature
Levels of problem severity
How to
What is
Sybase PowerDesigner
Update existing
Page 1
Image 1
XML Model
User's Guide
Sybase
®
PowerDesigner
®
11.1
Windows
Page 1
Page 2
Page 1
Image 1
Page 1
Page 2
Contents
11.1
Sybase PowerDesigner
Last Revised June
Contents
100
Managing external shortcuts through references and data
101
102
Working with an XML model 139
How to reverse engineer an XSD, a DTD or an XDR
Why reverse engineer an XSD, a DTD or an XDR
169
Mapping XML Model objects to OOM objects 171
Vii
Exchanging data with databases supporting XML 215
Viii
Audience
Subject
Documentation primer
Physical Data Model User’s Guide
Conceptual Data Model User’s Guide To work with the CDM
Object Oriented Model Getting Started
Business Process Model User’s Guide
Typographic conventions Bibliography
BeforeInsertTrigger template
Xii
XML Model Basics
Contents
Functional overview
Demo models
What is an XML model?
About XML
Objects in an XML model
XSD
Tool Object Description
Objects in a diagram
Tool Sequence symbol Choice symbol All symbol
Tool Element symbol Group symbol Complex type symbol
All
Choosing the XML language of an XML model
Defining the XML model environment
Not certified resource file
To change the XML language of an XML model
Changing the XML language of an XML model
Language Description
Changes concerning simple and complex types
Option Description
Selecting extended model definitions at model creation
Defining model options
To define XML model options
XML model extended dependencies
Defining the XML model environment
Defining model properties
Defining an XML model
To define the properties of an XML model
Property Description
Model General
Model Detail
Button Moves item
Model Items
Tool Tooltip Description
Model External Schemas
Model Namespaces
XML Model Basics
Model Preview
Creating an XML model
To create a new XML model using the New model option
Creating an XML model using the New model option
Defining an XML model
List of templates
Detaching an XML model from the workspace
Opening an existing XML model
To open an existing XML model
To detach an XML model from a workspace
Saving an XML
Saving and closing an XML model
Model
Closing an XML model
Defining an XML model
Building an XML model
Defining an XML diagram
XML diagram basics
Why build an XML diagram?
Group Symbols feature
Creating an XML diagram
Expand/Expand All/Collapse/Arrange Symbols features
Defining elements
Defining element properties
Global and local elements in XDR files
Element general properties
Defining elements
Property or
XDR files
Element detail properties
Building an XML model
Element attributes properties
Element mapping properties
Element constraints properties
Element Sources
Attributes Mapping
Creating an element
To create an element from the palette
Defining elements
Tool Action Result
How to link a child object to an element?
Pointer indications
Defining the attributes of an element
Building an XML model
Global and local attributes in XDR files
Attribute general properties
Defining attributes
Attribute values
Attribute detail properties
Element values with XDR
Adding an attribute to an element
To add an attribute to an element
Linking child elements to a parent element
Modifying element display preferences
Preference Description
Group particles
Defining group particles
Group particle Value of the order attribute in XDR
Items list
Group particles properties
To create a group particle from an element property sheet
Creating a group particle
From the palette
Name and code uniqueness
Clicking an element symbol with the Element tool
How to link a child object to a group particle?
Defining Any properties
Any general properties
To create an Any
Defining Any Attribute properties
Modifying the Any display preference
For example
Any Attribute general properties
Defining a unique constraint
Defining identity constraints
Unique fields properties
Unique general properties
Defining a key constraint
Key general properties
Defining a keyRef constraint
Key fields properties
Defining identity constraints
KeyRef general properties
Creating an identity constraint
KeyRef fields properties
Defining an identity constraint selector
Syntax Description
XPath abbreviated syntax
To display a selector property sheet
Defining selector general properties
Defining an identity constraint field
To create an identity constraint field
Defining field general properties
Building an XML model
Defining a group of elements
Defining groups
Defining group properties
Groups in DTD and XDR files
To create a group of elements from the palette
Creating a group of elements
Defining groups
How to link a child object to a group of elements?
Defining a group of attributes
Modifying the group display preference
Attribute group general properties
Defining attribute group properties
Attributes
Attribute group
Properties
To create an attribute group from the Browser tree view
Creating an attribute group
Defining groups
Data types
References
Example of shortcuts through a reference and a data type
Defining simple types
What is a simple type?
Type of derivation Description
Modifying the simple type display preference
Defining simple type properties
Creating a simple type
To create a simple type from the Browser tree view
Building an XML model
Defining complex types
What is a complex type?
Complex type general properties
Defining complex type properties
Complex type attributes properties
Complex type detail properties
Complex Type
Complex type mapping properties
Sources
Icon Tool Description
Creating a complex type
Modifying complex type display preferences
To create a complex type from the palette
How to link a child object to a complex type?
Pointer indications
Simple content
Defining simple content properties
To create a simple content
General property
Complex content
Defining complex content properties
To create a complex content
General properties
Deriving by extension
Defining derivations
Derivation in element property sheet
102
To define a derivation by extension
Defining extension
103
Restriction on a simple type
Deriving by restriction
104
Restriction general
Defining restriction facets
Restriction detail
105
Restriction
Facet general
Enumerations
106
107
Restriction patterns
To create a restriction on a simple type
Creating a restriction on a simple type
108
109
110
Enumeration and Pattern facets
Restriction on a complex type
To create a restriction on a complex type
111
112
Deriving by list
To define a simple type derivation by list
Deriving by union
113
Union types
Union general
To define a simple type derivation by union
114
115
Defining annotations
Defining documentation properties
Defining annotation properties
Annotation general property
Annotation items properties
Defining application information properties
Documentation content
Documentation general properties
Application information general properties
Creating an annotation
Application information content
118
119
Defining notation properties
Defining notations
120
To create a notation from the Browser tree view
Creating a notation
121
Defining entity properties
Defining entities
122
Entity name Reference Value
To create an entity from the Browser tree view
Creating an entity
123
124
Defining an import
Defining import, include and redefine
Defining import properties
Import general
To create an import from the Browser tree view
Creating an import
126
Defining include properties
Defining an include
Include general
127
Creating an include
Defining a redefine
To create an include from the Browser tree view
128
Redefine general
Defining redefine properties
129
Redefine items
Creating a redefine
To create a redefine from the Browser tree view
130
131
Defining business rules
What is a business rule?
Defining business rule properties
Business rule general properties
Business rule expression property
Creating a business rule
133
Type Description Example
134
To create a business rule from the List of Business Rules
135
Applying a business rule to an XML object
136
To apply a business rule to an XML object
137
Column in the List of business rules
138
139
Working with an XML model
Checking an XML model
Levels of problem severity
XML model check options
140
XML model object selection in the Check Model
Selecting objects in the diagram
Automatic correction
141
To check an XML model
Checking an XML model
142
143
Selecting all or clearing all check boxes
Displaying previously applied check options in an XML model
To display errors and warnings selected in the last check
Dockable result window
144
Display the Check toolbar
Making corrections based on XML model check results
Contextual menu
145
Making automatic corrections to an XML model
Making manual corrections to an XML model
To make manual corrections to an XML model
To make automatic corrections to an XML model
Group particle check
XML Model objects verified by Check Model
Existence of particle
Invalid cardinality
Identifier uniqueness
Model check
Undefined identifier
Shortcut code uniqueness
Data source check
Business rule check in an XSM
Missing namespaces
Business rule name and code uniqueness
Data source name and code uniqueness
File check
Existence of model
150
Embedded file name uniqueness
Entity check
Existence of external file location
Entity name and code uniqueness
Simple type check
Include check
Complex type check
Existence of attribute
Element check
Element name and code uniqueness
Undefined type
154
Undefined reference
Group name and code uniqueness
Group check
155
Notation check
Attribute check
Attribute name and code uniqueness
156
Notation name and code uniqueness
Attribute group check
Undefined notation
Attribute group name and code uniqueness
Import check
Undefined schema location and namespace
Redefine check
Existence of attributes
Existence of component
Key check
Key name and code uniqueness
Existence of fields
KeyRef name and code uniqueness
KeyRef check
160
Unique name and code uniqueness
Unique check
161
Extended link check
Extended object check
Extended object name and code uniqueness
Extended link name and code uniqueness
Extension check
Replication check
Restriction check
Partial object replication
Existence of facet
Simple type list check
164
Annotation check
Simple type union check
Existence of items
165
Understanding object mapping
Mapping objects in an XML model
Defining data sources in an XML model
166
Creating a data source in an XML model
Data source properties in an XML model
To create a data source in an XML model
167
168
Mapping elements
Mapping XML Model objects to PDM objects
169
XML Model object PDM object
170
Mapping complex types
Tool Description
171
Mapping XML Model objects to OOM objects
XML Model object OOM object
To create a mapping for an element
Creating a mapping for an XML object
172
173
174
Create From Sources and Generate Mapping tools
To modify the mapping of an attribute
Modifying the mapping of an attribute
175
Local objects
Manipulating XML objects graphically
Move
176
Example converting a local object into a global object
Global objects
To convert a local object into a global object
Drag and drop
178
After conversions
179
Comparing and merging XML models
Generating XML Model objects
Generating an XML model from a Physical Data Model
180
PDM object Generated object in an XML model
XML model naming conventions
Generating and updating an XML model
Generate new XML
181
Defining XML model generation options
Update existing
XML model
Clearing the Preserve modifications check box
183
Check model before generation
To generate a new XML model from a PDM
Generating a new XML model from a PDM
184
Generating an XML model from a package
Updating an existing XML model
185
Preserve modifications Result
Preserve modifications
To update an existing XML model by generating from a PDM
186
187
Merging models
188
Generating an XML model from an Object- Oriented Model
OOM Object Generated object in an XML model
189
190
191
To generate a new XML model from an OOM
Generating a new XML model from an OOM
192
193
194
To update an existing XML model by generating from an OOM
195
Editing an XML model report
What is a report?
Creating an XML model report
To create a model report
197
Language in a template
Inserting diagram
198
199
200
201
Why generate a DTD file?
Why generate an XSD file?
Why generate an XDR file?
Generating an XSD, a DTD or an XDR file
Check model
Defining generation parameters
Defining generation targets
203
Defining generation options
Using the Move up or down arrows
Defining generation tasks
204
Parameter entities during DTD generation
How to generate an XSD, a DTD or an XDR file?
205
Model targeted with Generated file
206
207
Why reverse engineer an XSD, a DTD or an XDR file?
What is reverse engineering?
How to reverse engineer an XSD, a DTD or an XDR file?
Reverse engineering an XSD, a DTD or an XDR file
Reverse engineering target models
Reverse engineering options
Reverse engineering to a new XML model
Convert Unique References
210
211
212
Reverse engineering to an existing XML model
213
Auto-layout
214
215
Exchanging data with databases supporting XML
216
Why use XML in databases?
Mapping XML objects to PDM objects
Generating an annotated schema for Microsoft SQL Server
217
218
219
220
221
222
Extended model definitions
223
Annotated schema preview
224
225
Reinforcing mapping with extended attributes
Annotation Description
226
227
228
229
To generate an annotated schema for Oracle
Generating an annotated schema for Oracle
230
231
232
233
234
235
236
To generate a DAD file for IBM DB2
Generating a DAD file for IBM DB2
237
Type of storage Type of mapping Description
238
Generating a DAD file for IBM DB2
239
240
241
242
243
DAD file preview
Extended attribute Description
244
245
246
247
248
To generate SQL/XML queries
Generating SQL/XML queries
249
250
Generating SQL/XML queries
251
252
253
254
255
Generating from an XML model
Target models parameters
Generation basics
256
Generation option Description
257
Generating from an XML model
258
Generating an XML model from an XML model
Why generate an XML model from an XML model?
259
260
Generating an XML model from an XML model
261
Generating a new XML model from an XML model
262
To generate a new XML model from an XML model
263
Updating an existing XML model
264
265
266
267
268
XSM User’s Guide 269
Unique
Union
XML language
XPath
271
Index
272
PowerDesigner
273
IBM DB2
274
275
276
XML
277
278
Top
Page
Image
Contents