> (please use reply-to if possible when replying to mailing lists messages)

ugh? I just simply replied to the mail - there were no other options, what
do you mean?

CInclude is not yet on my 'explored' list.
But in a nuthsell you auto-generate an xml file which then lists which xml
files you want to include, which is then sent back to Cocoon to process?

If this is the case then I don't think it will work because some of the
files are only available server side and are fetched using RMI - therefore
on the client side they only exists in memory.

---

Ok, maybe some more info is needed to explain exactly what I want to
achieve. Here is a ***simplified*** overview.
For auditting purposes, various (XML formatted) log files need to be made
available via a browser - for now simply retruned to Cocoon as XML which is
then run through an XSLT stylesheet (which could also potenitally filter the
data).

Some of the files are client-side, some are server-side - some files might
be rotated so there may be serveral names to figure out/open.
(different log files can live in different directories even), and different
deployments of Cocoon need to pick up different log files - luckily the name
of the file is easily figured out using the Log Manager.

I had no luck with 3rd party applications which are no longer an option, and
it doesn't *sound* that complicated. In fact, the code is written, I just
need to figure out how to output XML as XML within XML!!!!!

Thanks

Chris
-=-=-=



On Tuesday 26 November 2002 11:04, Shaw, Chris wrote:
>. . .
> I simply want to open one (or more) XML files - the names of which are not
> known to the sitemap (not even available client-side), the file names have
> to be figured out using some code.
>. . .

Looks like a typical use-case for the CInclude transformer: what you want is

first generate (using any kind of pipeline) an XML document that tells 
CInclude which documents to include, and then pass this to the CInclude 
transformer.

http://xml.apache.org/cocoon/userdocs/transformers/cinclude-transformer.html

explains how this work.

-Bertrand

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

Any e-mail message from the European Central Bank (ECB) is sent in good faith but 
shall neither be binding nor construed as constituting a commitment by the ECB except 
where provided for in a written agreement.
This e-mail is intended only for the use of the recipient(s) named above. Any 
unauthorised disclosure, use or dissemination, either in whole or in part, is 
prohibited.
If you have received this e-mail in error, please notify the sender immediately via 
e-mail and delete this e-mail from your system.


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

Reply via email to