[Home] [By Thread] [By Date] [Recent Entries]
On 29/11/13 14:01, Tony Graham wrote:
Which is to say that you wouldn't want to emulate the libxslt functions that take a xsltStylesheetPtr, but you could cover a lot of cases by having similar functions that just take a filename or a xmlDoc for the stylesheet and keep the other parameters more or less the same. I think we have followed this viewpoint, please see the API of the XsltTransformer class: http://www.saxonica.com/saxon-c/doc/html/classXsltProcessor.html Here we have similar methods to libxslt to execute a stylesheet. However, the results we can return are a string, a file or as a XdmValue (Saxon API). This was driven somewhat by the PHP interface. Yes, probably wouldn't work. One thing we do in Saxon/C is have set methods for setting properties and parameters on the stylesheet. I have cc the Saxon list -- O'Neil Delpratt Software Developer, Saxonica Limited Email: oneil@xxxxxxxxxxxx <mailto:oneil@xxxxxxxxxxxx> Tel: +44 118 946 5894 Web: http://www.saxonica.com Saxonica Community Site: http://dev.saxonica.com Saxonica Bug tracking System: https://saxonica.plan.io/
|

Cart



