You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Tomas Espeleta <to...@digival.es> on 2001/11/09 16:17:29 UTC
[C1] XSP Including XSPs - please help!
Hi,
I'm using Cocoon 1.8.2 and trying to dynamically include a XSP into my main
file...
index.xml <--- <util:include-file> (making a choice on name) <----
included0.xml | included1.xml | included2.xml
Now, <util:include-file> is expanded into a Reader that takes code from disk
and put it the result-tree as-is... so that my includedX.xml (that is a XSP
using a logicsheet), is not xspProcessed.
so that for example my included0.xml containing:
<included><mytaglib:mytag/></included>
is copied to xml-tree, without expanding <mytaglib:mytag>....
What I'd like is my main XSP dynamically nesting another XSP.
Is it possible? How can I do it? Should I use xinclude, xsl document() into
the logicsheet...?
Thanx a lot, Tomas.
* ----------------------------------------------------
* Those who know don't talk.
* Those who talk don't know.
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>