Hi,
I�m trying to insert xml into my xsp, this xml is for navigation
purposes so ideally I would like to use one navigation file in many
different xsp documents.
I have looked at the mail archive to find out the details about this but
I cant seam to get it to work!
My example is below:
<?xml version="1.0" encoding="UTF-8"?>
<xsp:page language="java"
xmlns:xsp="http://apache.org/xsp"
xmlns:util=�http://apache.org/xsp/util/2.0�>
<xsp:logic>
XSPUtil u = new XSPUtil();
String navigation =
u.getFileContents(/tomcat/webapps/cocoon/autorevs/docs/templates/logged-
out-navigation.xml);
<util:include-expr>
<util:expr>
<xsp:expr>navigation</xsp:expr>
</util:expr>
</util:include-expr>
</xsp:logic>
</xsp:page>
I am getting compilation errors � any ideas?
Cheers
Tom
�
---------------------------------------------------------------------
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]>