Export.XML.SaveMetaData DataWindow object property
Description
Setting that controls the storage format for the metadata
generated with the XML exported from a DataWindow object using the SaveAs method
or a .Data.XML expression.
Controls
DataWindow objects
Syntax
PowerBuilder dot notation:
|
1 |
<span>dw_control</span>.Object.DataWindow.Export.XML.SaveMetaData |
Describe and Modify argument:
|
1 |
"DataWindow.Export.XML.SaveMetaData { = '<span>value </span>' }" |
|
Parameter |
Description |
|---|---|
|
value |
(exp) A string specifying |
Usage
This property must be set to specify how to store the generated
metadata 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. The metadata can be saved into the exported XML
document or string or into an associated file.
Note
If Export.XML.MetaDataType is set to XMLNone!,
the value of the Export.XML.SaveMetaData property
is not used.
The Export.XML.SaveMetaData property is
an enumerated datatype that can hold the following values:
|
Enumerated value |
Numeric value |
Meaning |
|---|---|---|
|
MetaDataInternal! |
0 |
The metadata is saved into the generated |
|
MetaDataExternal! |
1 |
With the SaveAs method, With .Data.XML, no metadata is generated |
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
value from the Save Meta Data list.
Examples
|
1 |
dw1.Object.DataWindow.Export.XML.SaveMetaData = 0<br>dw1.Modify("DataWindow.Export.XML.SaveMetaData = &<br>   MetaDataExternal!") |