Web DataWindow properties
This section describes the XML, XHTML, and HTML DataWindow
object properties for the Web DataWindow. You can set these properties
in the DataWindow painter or in script.
For more detailed information about each property, see the DataWindow Reference or
the online Help for the property name. For information about how to
set properties in the DataWindow painter, including shared HTML
and XHTML properties, see “Setting Web generation properties
for the Web DataWindow”.
XML and XHTML
data
properties
Table 6-4 shows
row data properties for the XML and XHTML Web DataWindow.
Property |
User interface fields |
Description |
---|---|---|
Data.XHTML |
Read only, so no user interface field |
A string containing the row data content |
Data.XMLWeb |
Read only, so no user interface field |
A string containing browser–specific |
XML Web DataWindow generation properties
Table 6-5 lists
properties supporting XML Web DataWindow generation.
Property |
User interface fields |
Allows you to |
---|---|---|
CSSGen.property |
Web Generation property page with CSS |
Specify the physical path to which a |
JSGen.property |
JavaScript Generation property page with XHTML |
Specify the physical path to which generated |
XMLGen.property |
Web Generation property page with XML |
Specify the physical path to which XML |
XSLTGen.property |
Web Generation property page with XSLT |
Specify the physical path to which the |
XHTMLGen.Browser |
Web Generation property page with XHTML selected |
Identify the browser in which XHTML generated |

PublishPath is a string that specifies the physical path of
the Web site folder to which PowerBuilder publishes generated CSS,
JavaScript, XML, or XSLT. ResourceBase is a string that specifies
the URL of the generated file.
HTML properties
There are four types of HTML properties you can set in the
DataWindow painter. The first three apply to the DataWindow object
itself. The last applies to bitmap, column, computed field, and
text controls in the DataWindow object.

unchanged
In previous versions of PowerBuilder, HTML properties applied
only to the HTML Web DataWindow. Now some HTML properties are shared
with the XML Web DataWindow and the XHTML Web DataWindow. The HTML property
names have not changed.
Property |
User |
Allows you to |
---|---|---|
HTMLDW |
Web DataWindow check box on the General |
View the HTML in a browser using Design>HTML |
HTMLTable.property |
All fields on the HTML Table page of |
Change the display characteristics of |
HTMLGen.property |
All fields on the Web Generation page |
Control the number of rows displayed |
HTML.property |
All fields on the HTML page of the Property view |
Set up hyperlinks and retrieval arguments |