Ross, you could try using XInclude recursively by Xincluding a cocoon pipeline, rather than directly XIncluding the resource you want. That way you can get the recursion to happen in the sitemap, i.e. the pipeline makes recursive Xinclude calls to itself. The recursion will terminate when there's no more <xi:include> statements in the input. In this way, you can XInclude to whatever depth you require.
Hope that helps. Con --------------------------------------------------------------------- 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]>