IDataSourceXml interface

Library: TFORMer9Lib

Specialized DataSource for XML data.

Usage and notes

Overview

DataSourceXml is a specialized DataSource for importing data from XML-Files.
This class is used to manipulate existing DataSourceXml objects. To create a new DataSource use TFORMer Designer or Project.AddDataSource.

The main properties to characterize a DataSourceXml are:

  • The XML filename

  • An optional XSLT file for transforming the XML file into a suitable TFORMer compatible format

Modifying an Existing XML DataSource

Sample source code for modifying an existing DataSourceXml:

  ' Retrieve the global Project '
  ' DataSources are defined in a Project or a global Project '
  Set project = repository.GlobalProject

  ' Retrieve the DataSource by name '
  Set dataSource = project.GetDataSource("XML")

  ' Modify some DataSource properties '
  dataSource.XsltFilename = "" ' clear XSLT filename '

Base types: IDataSource

Inherited members (23)

Properties

MemberDescription
FileNameString { get; set; }

Gets/Sets the filename of the XML-file.

XsltFileNameString { get; set; }

Gets/Sets the filename of the XSLT file for transforming the XML file.

Search documentation

Search in
More scopes
Additional scopes

All contents