Chapter 3 Building an XML model


Defining elements

Elements are the basic building blocks of an XML model.

An XML model is a tree structure of elements where child elements are attached to parent elements.

For example (Browser tree view and diagram):


Generated schema:


In a schema, elements are declared with <element> tags.

 


Copyright (C) 2005. Sybase Inc. All rights reserved.