At 12:09 PM +0700 28/9/01, Andrew Answer wrote:
><xsp:page
> xmlns:xsp="http://apache.org/xsp";
> xmlns:xinclude="http://www.w3.org/2001/XInclude";>
><page>
>   <xinclude:include href="menu.xml"/>
></page>
></xsp:page>

As your page is an XSP, you _could_ use the xinclude tag of the util taglib.

However, if you want to use the XInclude Transformer, I believe you need to
provide an xml:base attribute.

ie. something like this:

<xsp:page
        xmlns:xsp="http://apache.org/xsp";
        xmlns:xinclude="http://www.w3.org/2001/XInclude";>
        <page>
                <xinclude:include
                        href="menu.xml"
                        xml:base="context://your-context/docs/"
                />
        </page>
</xsp:page>


Hope this helps


regards Jeremy
-- 
   ___________________________________________________________________

   Jeremy Quinn                                           Karma Divers
                                                       webSpace Design
                                            HyperMedia Research Centre

   <mailto:[EMAIL PROTECTED]>                    <http://www.media.demon.co.uk>
   <phone:+44.[0].20.7737.6831>             <pager:[EMAIL PROTECTED]>

---------------------------------------------------------------------
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]>

Reply via email to