What are the limitations of mixed content elements? Under what circumstances should you not use them?

What will be an ideal response?


One limitation of using DTDs is their inability to define mixed content. An element is said to have mixed content when it contains both a text string and child elements. You can specify the child elements with a DTD, but you cannot constrain their order or number. XML Schema gives you more control over mixed content. To specify that an element contains both text and child elements, you add the mixed attribute to thetag. When the mixed attribute is set to the valuetrue, XML Schema assumes that the element contains both text and child elements. The structure of the child elements can then be defined with the conventional method.

Computer Science & Information Technology

You might also like to view...

The Bookmarks menu contains collections of links to sites you have visited or want to visit frequently.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A comment balloon will not identify you as the author

Indicate whether the statement is true or false

Computer Science & Information Technology

The units of measure that you can use in a style declaration to determine the size or positioning of an element are known as ____________________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

In the heap sort implementation, reheap down is called to re-create the heap by moving the root element down the tree to its correct location.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology