Ross Gardler wrote:
Jim Dixon wrote:

...

One thing I did not pick up on in your original post, but want to clarify now is the line:

"foo.txt is just a line of nonsense."

Is it a line of *XML* nonsense? The XInclude transformer is an implementation of the XINclude specification which is an XML specification (see the Cocoon docs Thorsten pointed you at). It will only work with XML source files.

Ooops, no that is not correct, you are using the parse="text" attribute, you *can* include text with that.

Ross