cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaw, Chris" <Chris.S...@ecb.int>
Subject RE: output XML
Date Tue, 26 Nov 2002 10:04:54 GMT
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:bdelacretaz@codeconsult.ch]
Sent: Tuesday 26 November 2002 10:52
To: cocoon-users@xml.apache.org
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message