Subject:Wildcard Param Author:Damon Betlow Date:12 May 2008 01:00 PM
Hello,
How does one use a wildcard as Param value? It appears that the '*' is being treated as text instead of a wildcard.
If my PHP page does not pass in a 'category param', I want the XSLT file to transform all of the 'blog postings'. If I pass in a category, it works fine. I also tried changing it so that I could pass in either '/blog/post' or '/blog/post[category="whatever"]', but that didn't seem to work either.
/* create the processor and import the stylesheet */
$proc = new XsltProcessor();
$xsl = $proc->importStylesheet($xsl);
$proc->setParameter(null, "category", "Family");