Hi - thanks for the reply. 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. And then I want to wrap all the XML files with my own XML.
For example: <document> <special_files> <special file name="file1"> <!-- Open and paste XML file here --> </special file> .... <special file name="fileX"> <!-- Open and paste XML file here --> </special file> <special_files> </document> Maybe I am on the wrong track using a Generator? but it kinda made sense since that I want to generate XML. Chris -=-=-= -----Original Message----- From: Bertrand Delacretaz [mailto:[EMAIL PROTECTED]] Sent: Tuesday 26 November 2002 10:52 To: [EMAIL PROTECTED] Subject: Re: output XML On Tuesday 26 November 2002 10:00, Shaw, Chris wrote: >. . . > Is it possible to have a generator that opens an XML file and outputs it > quite simply 'as is' ? >. . . I'm not sure if I understand your problem, why not simply use the FileGenerator together with the XML serializer? Or the CInclude transformer maybe? -- Bertrand Delacrétaz (codeconsult.ch, jfor.org) buzzwords: XML, java, XSLT, Cocoon, FOP, mentoring/teaching/coding. blogspace http://www.codeconsult.ch/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]>