Forum OpenACS Q&A: Response to nsxml 1.4 and xslt

Collapse
Posted by Yon Derek on
Yes, I used them.

It's always good to provide exact error message.

If it says "unknown command" it means that that you didn't compile xslt support. 2 possibilities:

  • you didn't compile it correctly (i.e. DO_XSLT define is not set in the Makefile)
  • you did compile it but the version of nsxml.so that AolServer is using is not the one that you compiled
You can verify that you compiled xslt support by using nm nsxml.so (http://unixhelp.ed.ac.uk/CGI/man-cgi?nm and looking for e.g. symbol xml_apply_xslt. If it's there - you did compile it. If not - you didn't. Alternatively you can use gdb, set a breakpoint on xml_doc_command and step through the code.

Also double-check that AOLServer loads correct nsxml.so.