Export.XML.SaveMetaData
property (DataWindow object)
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.
Applies to
DataWindow objects
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.DataWindow.Export.XML.SaveMetaData |
Describe and Modify argument:
|
1 |
"DataWindow.Export.XML.SaveMetaData { = 'value ' }" |
|
Parameter |
Description |
|---|---|
|
value |
(exp) A string specifying a value of the |
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 XML |
|
MetaDataExternal! |
1 |
With the SaveAs method, metadata is saved as an With .Data.XML, no |
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 2 3 |
dw1.Object.DataWindow.Export.XML.SaveMetaData = 0 dw1.Modify("DataWindow.Export.XML.SaveMetaData = & MetaDataExternal!") |
See also