TX Text Control .NET for Windows Forms

LoadXmlString Method

Method|Introduced in 24.0
Namespace
TXTextControl.DocumentServer.DataSources
Package
TXTextControl.TextControl.WinForms.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Loads XML data, given as a string, as a data source.

Syntax

public void LoadXmlString(string xmlSchema);

Parameters

ParameterDescription
xmlSchema

A string containing XML data.

Examples

The following example uses Load Xml String in a focused Data Source Manager workflow. The created object is then available to the surrounding document workflow.

dataSourceManager.LoadXmlString("Quarterly report");
Console.WriteLine("Data Source Manager is ready for use.");