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.MetaDataType – PB Docs 2017 – PowerBuilder Library

Export.XML.MetaDataType – PB Docs 2017

Export.XML.MetaDataType

property (DataWindow object)

Description

Setting that controls the type of 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:

Describe and Modify argument:

Parameter

Description

value

(exp) A string specifying a value of the
Export.XML.MetaDataType enumerated datatype

Usage

This property must be set to specify the type of metadata
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. The metadata is
saved into the exported XML itself or into an associated file, depending
on the value of the Export.XML.SaveMetaData property.

The Export.XML.MetaDataType property is an enumerated datatype
that can hold the following values:

Enumerated value

Numeric value

Meaning

XMLNone!

0

Metadata (XML Schema or DTD) is not generated when
XML is exported

XMLSchema!

1

XML Schema is generated when XML is
exported

XMLDTD!

2

DTD is generated when XML is
exported

If the data item for a column is null or an empty string, an empty
element is created when you export XML. If you select XMLSchema!, child
elements with null data items are created with the content
“xsi:nil=’true'”.

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 Meta Data Type list.

Examples

This statement specifies that no metadata will be generated when
the DataWindow is exported to XML:

These statements export the contents of dw1 to the file
c:myxml.xml using the XML export template called t_schema, and generate
an external XML schema file at c:myxml.xsd:

See also

Export.XML.SaveMetaData


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