Hi Mark,

With XSLT 1.0, only a string can be passed as argument to a stylesheet. The document() function cannot be used to get an XForms instance either.

Building a specific instance for embedding all required data before applying the stylesheet to it might do the trick. I have created an action named "setnode" just to load serialized XML for one node with inner/outer option. What do you think?

Best regards
Alain

Le 19/01/2016 12:58, Mark Seaborne a écrit :
Hi,

I am experimenting with using the transform() function and would like to pass an XML instance into a stylesheet as a parameter value. Using something along the lines of

transform(instance(‘myInstance'), 'xslt/test.xsl',false, 'theTestXML', instance(’newCodes’))



I can access the instance within my stylesheet as a string, but not as a nodeset. Is it possible to do this?

Best wishes
Mark


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140


_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to