BEA WebLogic User Manual page 24

Mobility server
Hide thumbs Also See for WebLogic:
Table of Contents

Advertisement

Part III Fundamentals of Mobile Content
mm-structure
mm-table-model
The mmXHTML Document Type Definition (DTD)
DTD Function
The purpose of the mmXHTML Document Type Definition (DTD) is to allow authors to ensure
that documents are valid for use with WebLogic Mobility Server.
The DTD includes the language elements and attributes of WebLogic Mobility Server. It defines
how tags and attributes are used to describe content in an mmXHTML document, where each tag
is allowed, and which tags can appear within other tags.
For example, in the mmXHTML DTD
but
tags cannot contain
<mm-group-ref>
DTD Usage
A reference to the DTD must be included in any mmXHTML document processed by WebLogic
Mobility Server. When an author is creating an mmXHTML document, the document will require
an XML declaration:
<?xml version="1.0"?>
and a reference to the mmXHTML DTD within which the schema of the mobility tags are
defined:
<!DOCTYPE html PUBLIC "-//MOBILEAWARE//DTD MMXHTML 1.2//EN"
"http://www.mobileaware.com/DTD/mmxhtml_1.2.dtd">
Note: WebLogic Mobility Server DTD is versioned. All future DTDs will be versioned also.
Sample Document with DTD
Here is an example file using the WebLogic Mobility Server DTD.
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//MOBILEAWARE//DTD MMXHTML 1.2//EN"
"http://www.mobileaware.com/DTD/mmxhtml_1.2.dtd">
<html>
<head>
<title>Demonstrating use of the WebLogic Mobility Server DTD</title>
</head>
<body>
<p>The DTD reference is placed below the XML file declaration</p>
</body>
</html>
Note: JSP files using the WebLogic Mobility Server JSP tag library require the WebLogic
Mobility Server JSP document heading instead of the DTD declaration.
20 - BEA WebLogic Mobility Server User Guide
Used to contain references to groups that are to be delivered to
menu-driven devices. This tag can also be used to create
navigational menus for content that is delivered to PDAs.
Used to instruct WebLogic Mobility Server to transform tables for
small devices.
<mm-structure>
<mm-structure>
tags can contain
<mm-group-ref>
tags.
tags,

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WebLogic and is the answer not in the manual?

This manual is also suitable for:

Weblogic mobility server

Table of Contents