Thanks for this - Tried it and it worked and pretty much did what I want.
However (and isn't there always a however).
I want to be able to pass in a variable to the XSLT transormation that isn't part of the query (the report title).
And here is where I am going up the Perl Object learning curve.
I can see that XML::Filter::XSLT uses XML::Filter::XSLT::LibXSLT and that this uses XML::LibXSLT to parse the stylesheet.
I can also see that XML::LibXSLT supports transform(doc, %params) to allow me to pass in hash of parameters to the transformation. Which I have tested - and the value of the variable is replaced in the transformation using <xsl:value-of select="$cust_name"/>
It doesn't appear there is anyway that I can pass in a hash to the XML::Filter::XSLT as described in the example as there is no method - or is there.
Any pointers you can give
|