Now that you have trees representing the document and the stylesheet
in memory, apply the stylesheet to the document. The
function that does this is xsltApplyStylesheet:
res = xsltApplyStylesheet(cur, doc, params);
The function takes an xsltStylesheetPtr and an
xmlDocPtr, the values returned by the previous two functions. The third
variable, params can be used to pass
XSLT parameters to the stylesheet. It is a
NULL-terminated array of name/value pairs of const char's.
