ActiveReports 8
XMLDataSource Class Members
Properties  Methods 

The following tables list the members exposed by XMLDataSource.

Public Constructors
 NameDescription
Public ConstructorXMLDataSource ConstructorOverloaded. Initializes a new instance of the XMLDataSource class.  
Top
Public Properties
 NameDescription
Public PropertyBOFDetermines whether the CurrentPosition is at the first node in the NodeList.  
Public PropertyCountGets the number of nodes (records) in the node list.  
Public PropertyCurrentPositionGets the index of the current node in the NodeList.  
Public PropertyDocumentReturns a reference to the loaded XmlDocument that is used as the data source.  
Public PropertyEOF

Determines whether the CurrentPosition is at the end of the NodeList.

 
Public PropertyFileURLGets or sets the file name or url used to retrieve the XML document to be used as a data source.  
Public PropertyNodeListGets or sets a reference to the XmlNodeList object that is the result of applying the XPath pattern provided in the RecordsetPattern property.  
Public PropertyRecordsetPattern

Gets or sets a valid XPath pattern used to select the data source nodes to be printed in the report.

 
Public PropertyValidateOnParseGets or sets a value that determines whether the retrieved XmlDocument should be validated while parsing.  
Top
Public Methods
 NameDescription
Public MethodFieldOverloaded. Returns the XML node or nodelist using the specified XPath pattern relative to the current node (record).  
Public MethodLoadXMLLoads an XML fragment from a string.  
Public MethodMoveFirstMoves the current position to the first node in the NodeList.  
Public MethodMoveNextMoves the CurrentPosition to the next node in the NodeList.  
Top
See Also

Reference

XMLDataSource Class
GrapeCity.ActiveReports.Data Namespace

Support Forum