Imbedded elements

Trevor Turton (trevort@za.ibm.com)
Fri, 30 Jan 1998 09:52:17 -0500


Is it legal (and surely it must be) to imbed one element within
another? To take a common example from current HTML practice, to imbed
a <TABLE> element within a <FORM> element so that the graphical layout
of the <FORM> <INPUT> tags can be controlled?

And if so, how does XML resolve a given tag if it occurs within element
A which is imbedded within element B, and the particular tag happens to
be defined and valid in both element A and element B? Unlikely today
when all HTML elements and tags are controlled by a single standards
body (well, almost). Inevitable in the future as independent
organisations develop and distribute their own DTDs.

Trevor Turton