Hi. I can pass variables to a XSLT stylesheet:
PHP Code:
$xh xslt_create();
$files = array (
'/_xsl' => implode(''file('file.xsl')),
'/_xml' => implode(''file('file.xml'))
$params = array (
'FOO' => 'foo'
Simple enough. My question: can I pass an entire array to the stylesheet? I tried format like 'FOO' => array('foo', 'bar') but when I used <xsl:value-of /> on that all i got was 'Array'. Can I access the values somehow in the stylesheet? The standard [] square brackets gives 'object is not node set' Sablotron error.