Chapter 2 XML Model Basics
XML objects do not support standard link objects. To link a child object to a parent object, you must click the child object tool in the palette and then click the symbol of the parent object in the diagram. This will automatically create a link between both objects. See the following table for allowed links:
Tool |
Element symbol |
Group symbol |
Complex type symbol |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
No link | No link | No link |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Tool | Sequence symbol | Choice symbol | All symbol |
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
No link |
![]() |
![]() |
![]() |
No link |
![]() |
No link | No link | No link |
![]() |
![]() |
![]() |
No link |
![]() |
![]() |
![]() |
No link |
![]() |
No link | No link | No link |
Caution
A group particle (sequence, choice, all) cannot be created from scratch in a diagram.
It must be the child element of an element, a group or a complex type.
For more information, see sections How to link a child object to an element, How to link a child object to a group particle, How to link a child object to a group of elements, How to link a child object to a complex type, in chapter Building an XML model.
Copyright (C) 2006. Sybase Inc. All rights reserved. |
![]() |