xmlexportnode Properties

The XML export node outputs data to a file in XML format. You can optionally create an XML source node to read the exported data back into the stream.

Example

stream = modeler.script.stream()
xmlexportnode = stream.createAt("xmlexport", "XML Export", 200, 200)
xmlexportnode.setPropertyValue("full_filename", "c:/export/data.xml")
xmlexportnode.setPropertyValue("map", [["/catalog/book/genre", "genre"], ["/catalog/book/title", "title"]])
Table 1. xmlexportnode properties
xmlexportnode properties Data type Property description
full_filename string (required) Full path and file name of XML export file.
use_xml_schema flag Specifies whether to use an XML schema (XSD or DTD file) to control the structure of the exported data.
full_schema_filename string Full path and file name of XSD or DTD file to use. Required if use_xml_schema is set to true.
generate_import flag Generates an XML source node that will read the exported data file back into the stream.
records string XPath expression denoting the record boundary.
map string Maps field name to XML structure.