you need to enable saxon. there are some hint in the cocoon-wiki at http://outerthought.net/wiki/Wiki.jsp
I gathered all infos i could find on this issue into one "howto" document. What i did is documented in http://www.saxess.com/JSPWiki/Wiki.jsp?page=Install You will find info, how I managed building a fresh cocooon with saxon support and a little bit more, but it is currently an internal document. I'm still workming on it ;-) good luck, hussayn Anna Afonchenko wrote:
Hi all.
I have an xsl stylesheet that uses a few saxon extension functions.
When I was applying this stylesheet on an xml file through command line, everything worked,
but now I am trying to run it through Cocoon, and I get the message:
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh <javascript:location.reload()> button, or try again later.
------------------------------------------------------------------------
XML document must have a top level element. Error processing resource 'http://localhost:8080/cocoon-dev/ub/violations.html'.
And if I look in the source of this page, it is empty.
If I remove the line in xsl that uses saxon function, everything else works fine.
How can I use saxon extensions from Cocoon?
I am sure that should be simple, but I can't work it out myself.
Thank you very much for your help.
Anna
--------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>
