Hello Bala,
Currently, flat to flat transformation as shown in the examples does not
support transformations other than with a Java record filter. An
alternative option would be to use the record mapping to XML followed by an
inverse record mapping to flat, which would work, but might be a little
excessive for the purpose at hand. It is, however, relatively easy to add a
new element, say sx:changeRecordFilter, which would allow you to do these
things simply. I'll put out a new release in about a week with the new
element. The element could also be made available as a patch to your
exisiting release.
If possible, it would be appreciated if you could provide a simple example
with an original and target flat file, to test that the element covers off
all your cases.
Regards,
Daniel Parker
----- Original Message -----
From: "Bala Murali" <sba...@ya...>
To: <ser...@li...>
Sent: Tuesday, January 10, 2006 12:51 AM
Subject: [Servingxml-help] Transformation on Flat files
> Hi
>
> I am working on a flat file to flat file
> transformation resource files where I would like to
> apply multiple
> functions like
>
> - concat
> - Replace
> - substring
> - trim
> etc. Is there a way to do this, I see this is possible
> in xml with various sx:replace.
>
> Any help most welcome
>
> Thanks
>
> Bala
>
>
>
> __________________________________________
> Yahoo! DSL - Something to write home about.
> Just $16.99/mo. or less.
> dsl.yahoo.com
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Servingxml-help mailing list
> Ser...@li...
> https://lists.sourceforge.net/lists/listinfo/servingxml-help
>
|