Hi Christopher,
thanks for your reply, but it must be another problem. I tested the
stylesheet with all the XML-files on the commandline with Ant/Xalan and
without Cocoon - it works fine. But I want to use Cocoon for doing this
transformation on the fly.
For the document()-function I have a question: Will the called XML-file
handled by the sitemap ( -> So do I need a correct matcher in it? ->
inclusive link-resolving? ) e.g. like a HTML-redirect for JPGs/GIFS or does
it work completely without Cocoon (direct access to the XML-file)? I think
that I tested all possibilities, but I had no success.
I also searched the logfiles - no success. No error messages from document().
Regards,
Joerg
Christopher Painter-Wakefield wrote:
> If you are getting nothing back when you use the document() function, make
> sure the file you are opening with document() is valid XML. I found out
> the hard way that document() fails silently (at least in Cocoon 1.8.2) when
> the XML is bad. Try opening the XML document in IE or something like that
> to make sure it parses successfully.
>
> If this is still true in C2, it might make a good FAQ entry.
>
> -Christopher
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>