A string that identifies the browser in which XHTML generated within an XSLT style sheet is displayed.
DataWindow objects
PowerBuilder dot notation:
dw_control.Object.DataWindow.XHTMLGen.Browser
Describe and Modify argument:
"DataWindow.XHTMLGen.Browser { = ' value ' }"
Parameter |
Description |
---|---|
value |
(exp) A string identifying the browser in which you want to display the generated XHTML. The value should match the browser identifier part of the text string that the browser specifies in the HTTP header it sends to the server. This property is usually set dynamically on the server according to the HTTP header returned from the client. Recognized strings are listed in the Usage section below. |
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 5.0; Mozilla/4.0 (compatible; MSIE 5.5; Mozilla/4.0 (compatible; MSIE 6.x; |
Netscape |
Mozilla/5.0( |
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.