Export.XHTML.UseTemplate (Obsolete)
property (DataWindow object)
Description
Setting that optionally controls the logical structure of the
XHTML generated by a DataWindow object from a DataWindow data expression
using dot notation.
Applies to
DataWindow objects
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.DataWindow.Export.XHTML.UseTemplate |
Describe and Modify argument:
|
1 |
"DataWindow.Export.XHTML.UseTemplate { = 'value ' }" |
|
Parameter |
Description |
|---|---|
|
value |
(exp) A string specifying the name of an XHTML |
Usage
This property uses a template defined in the DataWindow painter to
specify the logical structure and attribute overrides that PowerBuilder
should use to generate XHTML from a DataWindow object. It is designed to
be used with the data expression for the DataWindow object, and should
be set before a data expression statement.
In the painter
In the Data Export tab in the Properties view for the DataWindow
object, select XHTML from the Format to Configure list and select a
template from the Use Template list.
Examples
This example stores the name of the export template used in dw1 in
the string ls_template. If no template is selected in dw1, an empty
string is returned.
|
1 2 |
string ls_template_name ls_template_name = dw1.Describe ("DataWindow.Export.XHTML.UseTemplate") |
This example sets the name of the current XHTML export template
used in dw1 to t_report. If t_report does not exist, the current
template is not changed.
|
1 |
dw1.Modify("DataWindow.Export.XHTML.UseTemplate = 't_report' ") |
See also