public IList Evaluate(string contextDocumentUri, XmlResolver dataSources, XsltArgumentList argumentList) { XmlCachedSequenceWriter seqwrt = new XmlCachedSequenceWriter(); Execute(contextDocumentUri, dataSources, argumentList, seqwrt); return(seqwrt.ResultSequence); }
/// <summary> /// Executes the query by accessing datasources via the XmlResolver and using /// run-time parameters as provided by the XsltArgumentList. The default document /// is mapped into the XmlResolver with the provided name. The results are returned /// as an IList. /// </summary> public override IList Evaluate(XmlReader contextDocument, XmlResolver dataSources, XsltArgumentList argumentList) { XmlCachedSequenceWriter seqwrt = new XmlCachedSequenceWriter(); Execute(contextDocument, dataSources, argumentList, seqwrt); return(seqwrt.ResultSequence); }
public IList Evaluate(string contextDocumentUri, XmlResolver dataSources, XsltArgumentList argumentList) { XmlCachedSequenceWriter results = new XmlCachedSequenceWriter(); this.Execute(contextDocumentUri, dataSources, argumentList, results); return(results.ResultSequence); }