Hi,

Velocity is good for text generation of any type.  I don't use any
particular XML tools.

Here's an example

#set($nodeNames = ["abc", "def", "ghi"]

<nodes>
#foreach($node in $nodeNames)
   <node name="$node"/>
#end
</nodes

generates

<node>
  <node name="abc"/>
  <node name="def"/>
  <node name="ghi"/>
</node>

Best, WLL

On Tue, Aug 19, 2008 at 11:11 PM, KumarE <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
>   How it is possible to gernerate xml files from the apache velocity, is
> there any tool, library or software which suppports the conversion , please
> send me any documents regarding passing and dispalying apache template in
> to
> flex side.
>
> Regards,
> srinil
>
>
>
>
> wglass wrote:
> >
> > Hi,
> >
> > We do this.  We use Velocity to generate XML files which are read by Flex
> > using the <mx:httpservice> object.  We also generate HTML files layered
> on
> > Flex with third party library HTMLComponent.
> >
> > WILL
> >
> > On Tue, Aug 19, 2008 at 2:50 AM, KumarE <[EMAIL PROTECTED]> wrote:
> >
> >>
> >> Hi,
> >>
> >>         How it is possible to communicate between apache velocity
> >> template
> >> in server side and adobe flex in client side, is there any method to
> make
> >> the communication possible. my main aim is to use apache template inside
> >> adobe flex
> >>
> >> Regards
> >> srinil
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/integrating-apahe-velocity-and-flex-tp19047328p19047328.html
> >> Sent from the Velocity - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > --
> > Forio Business Simulations
> >
> > Will Glass-Husain
> > [EMAIL PROTECTED]
> > www.forio.com
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/integrating-apahe-velocity-and-flex-tp19047328p19063426.html
> Sent from the Velocity - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Forio Business Simulations

Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com

Reply via email to