Project

Profile

Help

Is there no .NET method for the Java method https://www.saxonica.com/html/documentation10/javadoc/net/sf/saxon/s9api/XQueryEvaluator.html#runStreamed-javax.xml.transform.Source-net.sf.saxon.s9api.Destination-


Replies (1)

RE: Is there no .NET method for the Java method https://www.saxonica.com/html/documentation10/javadoc/net/sf/saxon/s9api/XQueryEvaluator.html#runStreamed-javax.xml.transform.Source-net.sf.saxon.s9api.Destination- - Added by Michael Kay over 2 years ago

Correct, there's no direct equivalent.

But as a workaround you can call Implementation.runStreamed(). (Note, the Implementation property on XQueryEvaluator is mis-documented (*); it actually returns a net.sf.saxon.s9api.XQueryEvaluator). Setting up the source and destination parameters is a bit of a kerfuffle, of course, but I'm sure it can be done.

(*) I've silently fixed this in the source.

    (1-1/1)

    Please register to reply