Background:
We've created a client portal that selects desired data points from our database and outputs them as XML. The client has provided us with their desired format in the form of an XSLT stylesheet. So our deliverable to them is preferably the most user-friendly format possible, preferably a PDF. Our service is in Perl, so we've tried a variety of methods within various CPAN perl modules, and also used Apache FOP with an external Java service to go straight from XML/XSL to PDF, but it's a nightmare for our IT team to replicate in production, and the results are less than stellar visually.
Status:
We're trying to use xmlsoft's xsltproc to convert the XML/XSL into HTML and then either deliver that or convert it into a PDF, but our problem so far is that it's outputting deprecated HTML that's causing problems with style and presentation in all cases. Therefore...
Question:
We're trying to see if there's a way to make xsltproc output using a custom specification, specifically xhtml so that we can style it and export it to a PDF in the preferable manner. Is this even possible, or is there a smarter way to go about doing this?