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
Original-Nachricht
Betreff: Re: [C2b2] document() function not working?
Datum: Wed, 22 Aug 2001 17:22:38 +0200
Von: Jörg Heinicke [EMAIL PROTECTED]
An: [EMAIL PROTECTED]
Referenzen: [EMAIL PROTECTED]
Hi Christopher,
thanks for your reply, but it must be another problem. I
-document, if it is
written after the xsl:variable .. /. And I don't get neither the b
nor the value of $test.
I work with C2b2, Tomcat 3.2.3 and Sun JDK 1.3.
What could be the problem or a workaround?
Joerg
Subject:
[C2b2] document() function not working?
From:
Wes Morgan [EMAIL
Hi Wes
Yes, I have used the document('otherfile.xml') and it works
under cocoon2.
Put the file 'otherfile.xml' in the same directory in which you
have your xsl file or give the relative path to 'otherfile.xml' relative
to the directory where you have your 'xsl' file.
Regards
Joseph