Sybase XML manual Defining annotations, 115

Models: XML

1 290
Download 290 pages 48.58 Kb
Page 127
Image 127

Chapter 2 Building an XML model

Defining annotations

You define annotations when you want to add information about an XML model.

Annotations are made of Documentation and Application Information:

Documentation allows you to write a URI reference or any well-formed XML content that will give extra information about XML objects or documents

Application Information allows you to write a URI reference or any well- formed XML content that will be used by applications for processing instructions

There are two kinds of annotations:

Local annotations, for extra information on XML objects. You can define them through the Annotation page of an object property sheet. They have no property sheet

Global annotations, for extra information on XML models or schemas. You can define them through the Items page or the External Schemas page of a model property sheet. They have a property sheet

Generated schema of a global annotation:

XSM User's Guide

115

Page 127
Image 127
Sybase XML manual Defining annotations, 115