Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Export.XML.UseTemplate – PB Docs 126 – PowerBuilder Library

Export.XML.UseTemplate – PB Docs 126

Export.XML.UseTemplate DataWindow object property

Description

Setting that optionally controls the logical structure of
the XML exported from a DataWindow object using the SaveAs method
or the .Data.XML property.

Controls

DataWindow objects

Syntax

PowerBuilder dot notation:

Describe and Modify argument:

Parameter

Description

value

(exp) A string specifying
the name of an export template previously saved in the DataWindow
painter for the specified DataWindow object

Usage

This property should be set to specify the logical structure
of the XML generated before you call the SaveAs method
with XML! as the SaveAsType to save
data as an XML document, or use the .Data.XML expression
to save data as an XML string.

In the painter

In the Data Export tab in the Properties view for the DataWindow
object, select XML 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.

This example sets the name of the current XML export
template used in dw1 to t_report.
If t_report does not exist,
the current template is not changed.

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x