Sybase XML manual ™ To create an Any

Models: XML

1 290
Download 290 pages 48.58 Kb
Page 72
Image 72

Defining elements

Property

Description

ID

ID of the Any. Its value must be of type ID and unique within

 

the model containing the Any. Only available in a model

 

targeted with XSD

Namespace

Namespaces containing the objects that can be used. If you

 

select ##any, objects from any namespace can be used. If you

 

select ##other, objects from any namespace other than the

 

target namespace of the schema can be used. If you select

 

##local, objects that are not qualified with a namespace can

 

be used. If you select ##targetNamespace, objects from the

 

target namespace of the schema can be used. If you type a

 

combination of URI references, ##targetNamespace and

 

##local, provided they are separated by a white space, objects

 

from this combination can be used. Only available in a model

 

targeted with XSD

Process contents

Indicator of how an XML processor should handle validation

 

of XML documents containing the objects specified by the

 

Any. If you select Strict, the XML processor must obtain the

 

schema and validate any object of the specified namespaces.

 

If you select Lax, the XML processor will try to obtain the

 

schema and validate any object of the specified namespaces.

 

If the schema cannot be found, no error will occur. If you

 

select Skip, the XML processor will not try to validate the

 

objects of the specified namespaces. Only available in a

 

model targeted with XSD

 

 

™To create an Any:

1 Select the Any tool in the palette.

2 Click a choice or a sequence symbol in the diagram.

The Any symbol appears in the diagram attached to the choice or sequence symbol.

3Right-click to recover the Pointer. or

Click the Pointer tool in the palette.

4Double-click the Any symbol in the diagram. The Any property sheet appears.

60

PowerDesigner

Page 72
Image 72
Sybase XML manual ™ To create an Any