Basic HTML version of Foils prepared May 19 99

Foil 31 Element Declarations

From An Introduction to XML Basic Information Track Computational Science Course CPS616 -- Spring Semester 1999. by Nancy McCracken,Ozgur Balsoy, Tom Scavo


1 A model group is used to define an element that has mixed content or element content.
2 A model group is bounded by brackets, and contains at least one token.
3 When a model group contains more than one content token, the child elements are controlled using two logical connector operators; sequence connector `,', and choice connector `|'
4 <!ELEMENT element1 (a, b, c)> indicates a is followed by element b, which in turn is followed by c.
5 <!ELEMENT element2 (a | b | c)> indicates either one can be selected.
6 Combinations are possible: (a,b,(c|d)), or ((a,b,c) | d)

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Wed May 19 1999