I am using the following variable in php to handle a customer id:
$k='160177'
which I pass to my xslt using:
...
$xsl = $proc->importStylesheet($xsl);
$xsl = $proc->setParameter('', 'k', $k);
$newdom = $proc->transformToDoc($inputdom);
print $newdom->saveXML();
I pick up the variable in my XSLT and use it to check a node:
...
<xsl:apply-templates select="td:Globale_Pauschale[contains(td:CreatedBy, $k]">
This works fine BUT now I need to pass multiple customer ids via my php variable:
$k='160177,160176,160184,160178,160179....etc'
And get my XSLT contains statement to check against EACH customer id.
In PHP I would change my $k to an array and iterate through it but XSLT has no concept of an array. How do I get XSLT contains to check against EACH customer id ?
Mayn thanks for any help!!