Sorry about the delay on this. It's on my list, but there have been a lot of pressures this week.

Michael Kay

On 22/01/2013 12:02, Amarnath B S wrote:
2nd try. Kindly help. 

-----Original Message-----
From: Amarnath B S 
Sent: 18 January 2013 19:42
Subject: [saxon] saxon:read-once does not use streaming

Resending with correct subject.

-----Original Message-----
From: Amarnath B S 
Sent: 18 January 2013 19:39
To:; ''

I cannot get saxon:read-once to work. The XSLT is pretty simple (attached as testSaxonRead.xsl). The output of CLI with  "-explain -t" options (attached as outputWithTimingAndPlan.txt) suggests a tree is built for the doc that is used with saxon:read-once. The execution plan is extracting the call to 'doc' function into a global variable.

I verified that the license is correct by using the saxon:stream function which works fine with the same saxon library. 

Please help. I think I am missing something basic, but honestly, cannot figure it out.

I am using Saxon-EE (evaluation version).


Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:

saxon-help mailing list archived at