cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@media.demon.co.uk>
Subject Re: Writing a Transformer, getting a Serializer
Date Mon, 03 Dec 2001 17:58:59 GMT
At 4:30 pm +0100 3/12/01, Stefano Mazzocchi wrote:
>Jeremy Quinn wrote:
>
>> Is this possible?
>
>Is shouldn't.
>
>> Am I looking at this the right way?
>
>I think so, what are you trying to achieve?

XML File editing from HTML forms.

Request Generator

Followed by XSLT StyleSheet to set up XInclude tags

Xinclude the editable content

XSLT StyleSheet modifies the XIncluded content, using the output of the
request generator.

This content is then passed on to a "FileResourceWriterTransformer", which
(either reacting to a namespace in the content or has been told which tag)
outputs that content as a file on disk.

Response prepared for user


I need my Transformer to Serialise the Sax Events "between" it's trigger
tags, to a File, provided a (pseudo protocol) URL.

Serialisers can be set up in different ways, so I thought it would be good
to allow the SItemap author to be able to tell the Transformer to use a
Serialiser already setup in the SiteMap.

Hence my need to get a Serialser by it's sitemap name, whilst inside my
Transformer.


Does that make any more sense ;)    ?


regards Jeremy
-- 
   ___________________________________________________________________

   Jeremy Quinn                                           Karma Divers
                                                       webSpace Design
                                            HyperMedia Research Centre

   <mailto:sharkbait@mac.com>     		 <http://www.media.demon.co.uk>
   <phone:+44.[0].20.7737.6831>             <pager:jermq@vizzavi.net>

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message