Hello Mickael

Yes unfortunatly, this is what i am experimenting : only atomic values are passed.
In may case, I need to pass a complete nodeset in the parameter. I don't yet know the "map" in XSL.
Are the maps supported by Saxon B (version9)?
Where could i find an example ?

Thank you

De :        Michael Kay <mike@saxonica.com>
A :        saxon-help@lists.sourceforge.net
Date :        24/01/2013 16:00
Objet :        Re: [saxon] Run and XSL from an XSL and passing a param to        the        stylesheet

On 24/01/2013 13:58, Philippe.Favrais@continental-corporation.com wrote:
Thank you Christophe,
Yes, it didn't work because the node of $contextSparc was not named as the value of the parameter.

Now it works but i have an additional question, how should i do so that in the parameter
contextSparc i get the nodeset and not the atomic value.
In fact, I would like to be able to do someting like <xsl:copy-of select="

Thank you


Unfortunately the current interface for saxon:transform() only allows atomic values to be passed as the values of the parameters. Now that maps are available, it makes sense to allow the parameters to be passed as a map, allowing any kind of value.

Michael Kay
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