No, the source for the transformer comes from the generator or transformer 
prior to where you defined the JXTemplate transformer. E.g.

<map:generate src="test.xml"/>
<map:transform type="jx"/>
<...>

Now the JXTemplate transformer transforms the XML generated by the 
<map:generate/>.

There is also a JXTemplateGenerator, and it is advised (for performance 
reasons) that you use that. In that case you'll have to specify the name of the 
source file, e.g.:

<map:generate type="jx" src="my-jx-template-file.xml"/>
...

HTH
Bart.

> -----Original Message-----
> From: Merico Raffaele [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 16, 2004 12:56 PM
> To: '[EMAIL PROTECTED]'
> Subject: JXTemplate Transformer
> 
> Dear Community
> 
> As I understand the "JXTemplate-Transfomer" it works on the base of
> JXTemplate generated by the previous <map:generate/>.
> My question is now: is there any possibility to define the JXTemplate as
> the
> src="" of the <map:transform/> and having within this JXTemplate access to
> the XML data generated by the previous <map:generate/>? If yes, could you
> please support me with a small example.
> 
> Many thanks in advance ... Raffaele <stillLearning/>
> 
> Raffaele Merico
> LESS Informatik AG
> B�hnirainstrasse 14
> CH-8800 Thalwil
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to