cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Kjeldahl Nilsson ...@marcello.no>
Subject Re: Transforming a JXTemplate BEFORE running it through the jx generator?
Date Tue, 13 Jul 2004 07:46:40 GMT
Thanks.
Using the jxtemplateTransformer was, of course, exactly what I needed.

I do find it strange, however, that this is mentioned nowhere in the 
cocoon documentation -> Transformers?

regards,
ThomasN


Upayavira wrote:
> Ugo Cei wrote:
> 
>> Thomas Kjeldahl Nilsson wrote:
>>
>>>     <!-- The final jx generator operation: -->
>>>     <map:match pattern="*.xml">
>>>            <map:generate src="cocoon:/preTransform*" type="jx"/>   
>>
>>
>>
>> Make that instead:
>>
>>              <map:generate src="cocoon:/preTransform{1}" type="jx"/>
>>
>>>            <map:serialize type="html"/>
>>>         </map:match>
>>>
>>>
>>> What am I missing or misunderstanding? :)
>>
>>
>>
>> A backreference to the matched substring ;-).
>>
> Or use the jxTemplateTransformer?
> 
> Upayavira
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 

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


Mime
View raw message