Exemple #1
0
        public IList Evaluate(string contextDocumentUri, XmlResolver dataSources, XsltArgumentList argumentList)
        {
            XmlCachedSequenceWriter seqwrt = new XmlCachedSequenceWriter();

            Execute(contextDocumentUri, dataSources, argumentList, seqwrt);
            return(seqwrt.ResultSequence);
        }
Exemple #2
0
        /// <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);
        }
Exemple #3
0
        public IList Evaluate(string contextDocumentUri, XmlResolver dataSources, XsltArgumentList argumentList)
        {
            XmlCachedSequenceWriter results = new XmlCachedSequenceWriter();

            this.Execute(contextDocumentUri, dataSources, argumentList, results);
            return(results.ResultSequence);
        }