yes, this can be very frustrating.
Would some working sample code help? You can start with a working sample
and make small changes until you have what you need. Here's some stuff I
made from my own working code. It doesn't do much, but it works (at least
in 1.8.2).
-Christopher
(See attached file: extra.xml)(See attached file: test.xml)(See attached
file: test.xsl)
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: Re: Document() function
I have just checked out cocoon2 today and suffer the same problem.
document() returns nothing.
> Also, be sure there are no errors in your Users.xml file. I have found
out
> the hard way that Cocoon silently returns nothing from document() if the
> XML file has any errors (e.g., is not well formed.) This can be very
> frustrating, since you can spend a lot of time trying to figure out
whether
> your document() syntax is correct.
I think my files are correct and they are all in the same directory.
But I cannot really find out what's going wrong because there is never an
error message - even if the requested file indeed does not exist :-(
- Stefan
extra.xml
test.xml
test.xsl
---------------------------------------------------------------------
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]>