Sybase XML manual Creating an entity, ™ To create an entity from the Browser tree view, 123

Models: XML

1 290
Download 290 pages 48.58 Kb
Page 135
Image 135

 

 

 

Chapter 2 Building an XML model

 

Property

 

Description

 

 

 

 

 

 

 

 

Value

 

Value of the entity. A string of characters in the case of a

 

 

 

predefined value. A URI in the case of an XML or a non-XML

 

 

 

file. For example: http://something.com/pictures/logo.gif

 

Public

 

URI reference identifying the non-XML object. For example:

 

 

 

pictures/gif

 

System

 

URI reference identifying the application that will process the

 

 

 

non-XML object. For example: user/local/pictureViewer

 

Notation

 

Used to define and process non-XML objects within an XML

 

 

 

model

 

Parameter

 

If selected, the entity is parsed within the DTD, and not within

 

 

 

the XML document as for a general entity. A parameter entity

 

 

 

allows you to predefine a value within a DTD. This predefined

 

 

 

value can then be easily changed within the DTD

 

 

 

 

 

Creating an entity

You can create an entity:

From the Browser tree view

From the List of Entities in the Model menu

™To create an entity from the Browser tree view:

1 Right-click the name or the icon of the model to display the contextual menu.

2 Select NewEntity in the contextual menu. The entity property sheet appears.

3 Type a name and a code for the entity.

XSM User's Guide

123

Page 135
Image 135
Sybase XML manual Creating an entity, ™ To create an entity from the Browser tree view, 123