cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Hunsberger <peter.hunsber...@gmail.com>
Subject Re: Generator to transformer question
Date Wed, 09 Nov 2005 15:01:07 GMT
On 11/9/05, Ross McDonald <ross_mcdonald@vnu.co.uk> wrote:
> Hi all,
>
> just a quick question as I am very new to working with the framework...
> if I am working in any transformer, is there a way to reference, the
> name or location of the xml source used in the generator step leading to
> this transformation, if someone could just point me in the general
> direction, I will explore further, thanks for your help,

In addition to using a parameter you can add an attribute in your
generator.  We usually annotate the root element in the generator with
some extra attributes that tell us what the source was.  The advantage
to this is that it can allow a more generic sitemap.

--
Peter Hunsberger

Mime
View raw message