Windward Engine API Reference
XPathDataSource Constructor(String,Boolean)
See Also  Send comments on this topic.
WindwardReportsDrivers.net.windward.datasource.xml Namespace > XPathDataSource Class > XPathDataSource Constructor : XPathDataSource Constructor(String,Boolean)




xmlData
A well formed xml string (not a filename).
preserveWhitespace
true if whitespace is to be preserved. This will mean a slightly slower process.

Glossary Item Box

Create a DataSourceProvider that uses the passed in string as the xml. This is NOT a filename, this is the actual xml to be queried.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal xmlData As String, _
   ByVal preserveWhitespace As Boolean _
)
Visual Basic (Usage)Copy Code
Dim xmlData As String
Dim preserveWhitespace As Boolean
 
Dim instance As New XPathDataSource(xmlData, preserveWhitespace)
C# 
public XPathDataSource( 
   string xmlData,
   bool preserveWhitespace
)
Managed Extensions for C++ 
public: XPathDataSource( 
   string* xmlData,
   bool preserveWhitespace
)
C++/CLI 
public:
XPathDataSource( 
   String^ xmlData,
   bool preserveWhitespace
)

Parameters

xmlData
A well formed xml string (not a filename).
preserveWhitespace
true if whitespace is to be preserved. This will mean a slightly slower process.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family

See Also

© 2019 All Rights Reserved.