/// <summary> /// Transforms given <see cref="XmlInput"/> into <see cref="XmlReader"/>. /// </summary> /// <param name="input">Default input XML document</param> /// <param name="arguments">An <see cref="XsltArgumentList"/> containing the namespace-qualified /// arguments used as input to the transform. This value can be a null reference (Nothing in Visual Basic).</param> /// <param name="multiThread">Defines in which mode (multithreaded or singlethreaded) /// this instance of XslReader will operate</param> /// <param name="initialBufferSize">Initial buffer size (number of nodes, not bytes)</param> public XmlReader Transform(XmlInput input, XsltArgumentList arguments, bool multiThread, int initialBufferSize) { XslReader r = new XslReader(this.compiledTransform, multiThread, initialBufferSize); r.StartTransform(input, AddExsltExtensionObjectsSync(arguments)); return r; }
/// <summary> /// Transforms given <see cref="XmlInput"/> into <see cref="XmlReader"/>. /// </summary> /// <param name="input">Default input XML document</param> /// <param name="arguments">An <see cref="XsltArgumentList"/> containing the namespace-qualified /// arguments used as input to the transform. This value can be a null reference (Nothing in Visual Basic).</param> public XmlReader Transform(XmlInput input, XsltArgumentList arguments) { XslReader r = new XslReader(this.compiledTransform); r.StartTransform(input, AddExsltExtensionObjectsSync(arguments)); return r; }