[]
Represents a section report data source based on an XML document and an XPath pattern to select the XML nodes used as records in the data source.
[TypeConverter(typeof())]
public sealed class XMLDataSource
| Name | Description |
|---|---|
| XMLDataSource() | Initializes a new instance of the XMLDataSource class. |
| XMLDataSource(string, string) | Initializes a new instance of the XMLDataSource class. |
| Name | Description |
|---|---|
| BOF | Determines whether the CurrentPosition is at the first node in the NodeList. |
| Count | Gets the number of nodes (records) in the node list. |
| CredentialsMode | |
| CurrentPosition | Gets the index of the current node in the NodeList. |
| Document | Returns a reference to the loaded XmlDocument that is used as the data source. |
| EOF | Determines whether the CurrentPosition is at the end of the NodeList. |
| FileURL | Gets or sets the file name or url used to retrieve the XML document to be used as a data source. |
| NodeList | Gets or sets a reference to the XmlNodeList object that is the result of applying the XPath pattern provided in the RecordsetPattern property. |
| RecordsetPattern | Gets or sets a valid XPath pattern used to select the data source nodes to be printed in the report. |
| ResourceLocator | Gets or sets the function that returns resource stream for a given name. |
| ValidateOnParse | Gets or sets a value that determines whether the retrieved XmlDocument should be validated while parsing. |
| Name | Description |
|---|---|
| Field(string, bool) | Returns the XML node or nodelist using the specified XPath pattern relative to the current node. |
| Field(string, bool, bool) | Returns the XML node or nodelist using the specified XPath pattern relative to the current node. The isOutputformatNull flag specifies whether to use the text of the current node. |
| LoadXML(string) | Loads an XML fragment from a string. |
| MoveFirst() | Moves the current position to the first node in the NodeList. |
| MoveNext() | Moves the CurrentPosition to the next node in the NodeList. |
| Name | Description |
|---|---|
| Changed | Occurs when data source fields is changed. |