XHTMLGen.Browser DataWindow object property
Description
A string that identifies the browser in which XHTML generated
within an XSLT style sheet is displayed.
Controls
DataWindow objects
Syntax
PowerBuilder dot notation:
|
1 |
<span>dw_control</span>.Object.DataWindow.XHTMLGen.Browser |
Describe and Modify argument:
|
1 |
"<span></span>DataWindow.XHTMLGen.Browser { = '<span> value </span>' }" |
|
Parameter |
Description |
|---|---|
|
value |
(exp) A string identifying Recognized strings are listed in the Usage section below. |
Usage
If the string specifies a browser that the DataWindow engine
supports, the DataWindow generates an XSLT style sheet and JavaScript
for XHTML transformation optimized for that browser. Browser–specific
XSLT and JavaScript are generated only for Microsoft Internet Explorer
5.0 and later and Netscape 6.0 and later.
Browser identification strings are sent by the client to the
server in the HTTP header. The server component can assign the HTTP_USER_AGENT
value from the HTTP header to the Browser property.
The XML Web DataWindow generator recognizes these browsers:
|
Browser |
HTTP header string |
|---|---|
|
Microsoft Internet Explorer |
Mozilla/4.0 (compatible; MSIE |
|
Netscape |
Mozilla/5.0( |
In the painter
On the Web Generation tab in the Properties view for the DataWindow
object, select XHTML from the Format to Configure list and select
a browser from the list.