The GetDataSourceData, GetXMLElementValue and GetXPathValue functions
If you need to get data from a data source and have those data available in an interview (and hence in the data set), then the commands IncludeDataSourceData and ChooseFromDataSource would be what you would