BEA WebLogic User Manual page 167

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

Advertisement

Usage B: To give page-wide settings to CDATA elements
Attributes
name="MIS-CDATA-Control"
This attribute must always have this value when using the meta element with <mm:cdata>
or <![CDATA[...]]>. (Required)
content="Unwrap | NoUnwrap"
If set to "Unwrap", WebLogic Mobility Server will not parse the content that is wrapped by
any CDATA section on the page (unless the CDATA tag itself has contradicting
instructions), but will remove the CDATA tags when delivering the page so that the wrapped
content will be interpreted by the client browser. If set to "NoUnwrap", which is the default
behavior, neither WebLogic Mobility Server nor the browser will process or interpret the
contents of the CDATA block.
Example using the JSP TAGLIB
<%-- The meta tag settings cause the first CDATA block to be unwrapped, but the
second one will not be unwrapped because the unwrap="false" in the CDATA
element overrides the meta tag instruction.--%>
<head>
<mm:meta name="MIS-CDATA-Control" content="Unwrap"/>
</head>
<body>
<mm:cdata>This content will not be parsed by the WebLogic Mobility Server
parser, but will be unwrapped and delivered to the requesting browser for
processing. Because the CDATA element has no unwrap attribute set, it looks for
the value of the content attribute of the meta element if there is
one.</mm:cdata>
<mm:cdata unwrap="false">This content will not be parsed by the WebLogic
Mobility Server parser, and will not be processed by the requesting browser
either. The CDATA's unwrap attribute overrides the content attribute of the
meta tag.</mm:cdata>
</body>
Example using mmXHTML
<%-- This demonstrates the mmXHTML equivalent of the example above.--%>
<head>
<meta name="MIS-CDATA-Control" content="Unwrap"/>
</head>
<body>
...
<![CDATA[This content will not be parsed by the WebLogic Mobility Server
parser, but will be unwrapped and delivered to the requesting browser for
processing. Because the CDATA element has no unwrap attribute set, it looks for
the value of the content attribute of the meta element.]]>
<![CDATA[#NOUNWRAP# This content will not be parsed by the WebLogic Mobility
Server parser, and will not be processed by the requesting browser either. The
CDATA's unwrap attribute overrides the content attribute of the meta tag.]]>
</body>
BEA WebLogic Mobility Server User Guide - 163
Part VIII Appendixes

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