Sybase XML manual 235

Models: XML

1 290
Download 290 pages 48.58 Kb
Page 247
Image 247

Chapter 5 Exchanging data with databases supporting XML

15In the Extended Attributes page, you can select a value (false or true) for the following annotations:

Annotation

Description

mapUnboundedStringToLob

If true, unbounded strings are mapped to

 

CLOB by default. Similarly, unbounded

 

binary data get mapped to BLOB, by

 

default. If false, unbounded strings are

 

mapped to VARCHAR2(4000), and

 

unbounded binary components are mapped

 

to RAW(2000)

storeVarrayAsTable

If true, the VARRAY is stored as a table

 

(OCT). If false, the VARRAY is stored in a

 

LOB

 

 

16Click OK.

17Select LanguageGenerate XML Schema Definition File.

The Generation dialog box appears with the extended model definition selected in the Targets page.

18Select a path for the annotated schema with the Select a Path tool beside the Directory box.

19Click OK.

XSM User's Guide

235

Page 247
Image 247
Sybase XML manual 235