Import.XML.Trace DataWindow object property
Description
Setting that determines whether import trace information is
written to a log file.
Controls
DataWindow objects
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.DataWindow.Import.XML.Trace |
Describe and Modify argument:
1 |
"DataWindow.Import.XML.Trace { = '<span> value </span>' }" |
Parameter |
Description |
---|---|
value |
Whether trace information is written 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 |
dw1.Modify("DataWindow.Import.XML.Trace = 'yes' ")<br>dw1.Modify("DataWindow.Import.XML.TraceFile =<br>   'C: empxmltrace.log' ") |