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)
Please register to reply
Added by Martin Honnen over 3 years ago
Saxon 10 EE for Java has the method https://www.saxonica.com/html/documentation10/javadoc/net/sf/saxon/s9api/XQueryEvaluator.html#runStreamed-javax.xml.transform.Source-net.sf.saxon.s9api.Destination-, is there no equivalent for the Saxon 10 EE .NET API?
The documentation https://www.saxonica.com/html/documentation10/dotnetdoc/Saxon/Api/XQueryEvaluator.html#Run(XmlDestination) shows no RunStreamed(Stream, XmlDestination)
or similar method.
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.
Please register to reply