You need to pass XdmEmptySequence.INSTANCE as the value.

Michael Kay

On 22/11/2012 13:10, Virendra Ray wrote:

I am using Saxon HE with .Net and want to bind empty sequence to variable value.
selectorFormula.SetVariable(new QName("", childNode.ChildNodes[0].Name, (XdmItem)e.Current);

when e.Current is null (emptysequence) I want to bind null value ( () ) to it.


Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!

saxon-help mailing list archived at