It may be doable by adding some custom functions to the xpath engine ...
On 8/29/06, Timothy High <[EMAIL PROTECTED]> wrote:
I thought about doing that, but you can't embed Expression results in an XPath method, right? -----Original Message----- From: Guillaume Nodet [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 29, 2006 11:42 AM To: [email protected] Subject: Re: Using FileWriter with message properties The only think I can think about is to use xpath functions like concat..., but i doubt you will be able to generate a serial number. You may have to create your own. On 8/29/06, Timothy High <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I'm using the FileWriter lightweight component to write some messages to > the file system, and I would like to base the name of the file on some > values contained in the message properties. I think the PropertyExpression > class should allow me to do what I want here, but it is only good for > returning a single property. I would like to use the values of multiple > properties, and append a serial number to this value in case there are > duplicates (ex: prop1-prop2-1.xml, prop1-prop2-2.xml ...). Are there any > composite Expressions that can be used to concatenate the results of other > Expressions? I couldn't find any. > > > > Thanks, > > Tim. > > > > ---------------------------------------------------------- > > Timothy High > > Software Engineering > > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > > > Sakonnet Technology > Centro Empresarial Mourisco > Praia de Botafogo 501 1°Andar > Bloco A - Torre Pão de Açúcar > 22250-040 - Rio de Janeiro, RJ Brazil > www.sknt.com <http://www.sknt.com/> > > +55 (21) 2586 6102 direct > +55 (21) 2586 6001 fax > > > > > -- Cheers, Guillaume Nodet
-- Cheers, Guillaume Nodet
