10.6. Mixing Documents

It is possible to combine documents so that their individual tags are mixed together, without isolating one document in an <iframe>.

10.6.1. Mixing XML Document Types

A very powerful yet complex feature of Mozilla is the capbility to render a document that contains tags from several standards. This means that a document can contain HTML, SVG, MathML, and XUL content, all mixed together. This is done simply by adding XML namespaces. All tags from the added namespace are then available. Mozilla, however, will only recognize XUL content from a .xul file extension or from the correct XUL MIME type, so that much is mandatory if XUL is involved. This system was touched on in Chapter 7, Forms and Menus, where HTML and XUL forms ...

Get Rapid Application Development with Mozilla™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.