You need to pass an XdmValue (not an XdmAtomicValue, because it isn't atomic). There's a constructor
new XdmValue(IEnumerable items)
where the IEnumerable (typically a List) must contain instances of XdmItem, which includes instances of XdmAtomicValue.
List list = new ArrayList();
list.add(new XdmAtomicValue("seq1"));
list.add(new XdmAtomicValue("seq2"));
transformer.SetParameter(nnn, new XdmValue(list));
Not tested (and there may be a more elegant way of coding it).
Michael Kay
PS: Nice to see you're still using Saxon in your new home...

From: [] On Behalf Of Ryan Puddephatt
Sent: 24 April 2008 14:31
Subject: [saxon] Passing Sequences as xsl:param from .Net


                I’m using Saxon.Net and trying to pass a sequence to my XsltTransformer. I’m currently doing


transformer.SetParameter(new QName("","",”sequence”),new XdmAtomicValue(“(‘seq1’,’seq2’)”) ;


but this doesn’t work, any ideas would be great







Ryan Puddephatt

FIX Developer

Fidessa LatentZero

1 Alfred Place

London WC1E 7EB

t: +44 (0) 20 7323 6112

b: +44 (0) 79 8539 2458

f: +44 (0) 20 7462 4242




The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit