Import.XML.Trace
property (DataWindow object)
Description
Setting that determines whether import trace information is
written to a log file.
Applies to
DataWindow objects
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.DataWindow.Import.XML.Trace |
Describe and Modify argument:
|
1 |
"DataWindow.Import.XML.Trace { = ' value ' }" |
|
Parameter |
Description |
|---|---|
|
value |
Whether trace information is written to a log Values are:
|
Usage
If you want to collect trace information, this property should be
set before you call the ImportClipboard, ImportFile, or ImportString
method to import data from an XML document. The trace information is
appended to the file you specify using the Import.XML.TraceFile
property. If no trace file is specified, trace information is appended
to a file named pbxmltrc.log in the current directory.
In the painter
In the Data Import tab in the Properties view for the DataWindow
object, select XML from the Format to Configure list, and type a file
name in the Trace File Name text box.
Examples
This example specifies that trace information should be written to
a file called xmltrace.log in the C: emp directory.
|
1 2 |
dw1.Modify("DataWindow.Import.XML.Trace = 'yes' ") dw1.Modify("DataWindow.Import.XML.TraceFile = 'C: empxmltrace.log' ") |
See also