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 the tag. When the mixed attribute is set to the value true, 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...

Assuming that Grades.h is found in the current directory and the iostream header file is found in the C++ Standard Library header file directory, which of the following preprocessor directives will fail to find its desired header file?

a. #include b. #include "iostream" c. #include d. #include "Grades.h"

Computer Science & Information Technology

If the Notification area contains more icons than can fit in the allocated space, the ____ displays additional notification icons.

A. Applications button B. System Tools C. Show hidden icons button D. Control Panel

Computer Science & Information Technology

You can add, delete, or change the grouping and sort options manually on an existing report without having to use the ________

A) Sorting feature B) Grouping feature C) Report Wizard D) Report Generator

Computer Science & Information Technology

It is most attractive and common that Word documents are printed in ________ orientation. Excel documents are most often printed in ________ orientation

A) portrait; portrait B) landscape; landscape C) portrait; landscape D) landscape; portrait

Computer Science & Information Technology