Project

Profile

Help

Does Saxonc supports xslt transformation with XML catalog file

Added by santanu das over 2 years ago

Hi,

I want to implement XSLT transformation with Catalog file in Python application. I've installed and configured Saxon-HE/C and Saxon-EE/C 64bit linux binary and using Python extension to work with basic XSLT transformation.

Now, I want to enhance this functionality with Catalog file. Is it possible?

I went through the following documentation for Python API, but couldn't find proper resources: https://www.saxonica.com/saxon-c/doc/html/saxonc.html

Any resource link would be highly appreciated.

Thanks, Santanu


Replies (6)

Please register to reply

RE: Does Saxonc supports xslt transformation with XML catalog file - Added by O'Neil Delpratt over 2 years ago

Hi Santanu,

Thanks for reporting this issue. I see the underlying setCatalog method in the C++ and PHP APIs but not in the python API. I am raising a bug against the Saxon/C python API as this method has been omitted. The fix will be available in the next release, if this is a show-stopper for you we can look to create a patched version of the Saxon/C python API.

RE: Does Saxonc supports xslt transformation with XML catalog file - Added by santanu das over 2 years ago

Hi Neil,

Thank you for the acknowledgement of my concern.

I'm not sure when the next release is scheduled. If that is planned soon then that would be great otherwise I would ask for a patch.

Thanks, Santanu

RE: Does Saxonc supports xslt transformation with XML catalog file - Added by santanu das over 2 years ago

Neil,

I'm stuck with this catalog issue. Is it possible to provide a patched version for now?

Thanks, Santanu

RE: Does Saxonc supports xslt transformation with XML catalog file - Added by O'Neil Delpratt over 2 years ago

Yes, sorry for the delay I will issue you the patches Python API file today

RE: Does Saxonc supports xslt transformation with XML catalog file - Added by O'Neil Delpratt over 2 years ago

Hi, I have provided the patched files for this missing set_catalog function in the bug issue #5055.

    (1-6/6)

    Please register to reply