Hi,

This may be a real dumb question but I'm trying to do an Xinclude, where the
file to be included contains a number of XSP lib calls. I'm not sure this is
possible?? will the XSP processor phrase the xsp returned by the Xinclude??
That is if it can return the XSP in the first place???

Can anyone help?? My first attempt is below.

Cheers,
Mark.

Include file (menubar_inc.xml);

<pure_author:menubar>
        <pure_author:menubar_parent name="about" link="#" user_status="anonymous">
                <pure_author:menubar_child name="Who are we?" link="#"/>
                <pure_author:menubar_child name="Press" link="#"/>
                <pure_author:menubar_child name="Advertising?" link="#"/>
        </pure_author:menubar_parent>
</pure_author:menubar>


Where the parent XML looks like;

<?xml version="1.0" encoding="UTF-8"?>
<?cocoon-process type="xinclude"?>
<?cocoon-process type="xsp"?>
<?xml-logicsheet href="pure-taglib.xsl"?>

<!DOCTYPE xsp:page SYSTEM "PureAuthor.dtd">
<xsp:page
        xmlns:xsp="http://www.apache.org/1999/XSP/Core";
render="en/render/home/r_home"
        xmlns:pure_author="http://www.freeloader.com"; title="freeloader.com
metadata="software"
        xmlns:xinclude="http://www.w3.org/1999/XML/xinclude";>

        <!-- menu -->
        <xinclude:include xinclude:parse="xsp" xinclude:href="menubar_inc.xml"/>

</xsp:page>




---------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to