Sure. An sx:xmlRecordReader is like any other record reader, and begins =
a record pipeline that can contain any record filter before terminating =
with a record writer, e.g.
<sx:service id=3D"books2pos">
<sx:recordStream>
<sx:xmlRecordReader>
<sx:inverseRecordMapping ref=3D"booksToFileMapping"/>
<sx:transform>
<sx:document/>
</sx:transform>
</sx:xmlRecordReader>
<!-- add any record filter here, such as a custom record filter =
-->
<sx:flatFileWriter>
<sx:flatFile ref=3D"booksFile"/>
</sx:flatFileWriter>
</sx:recordStream>
</sx:service>
-- Daniel
----- Original Message -----=20
From: Ravikumar Tadysetty=20
To: Daniel Parker=20
Sent: Sunday, April 15, 2007 9:48 PM
Subject: [Servingxml-help] xml to flat : Records
Hi
After converting an xml input to flat (positional fields), is it =
possible to examine to Record objects (java objects) in a class like a =
record filter before they are actually serialized and written to the =
output stream. Does the pipeline support it. If so, could you pls help =
with the constructs..=20
Thanks
Ravi
-------------------------------------------------------------------------=
-----
=
-------------------------------------------------------------------------=
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------------------------------------------------------------------=
-----
_______________________________________________
Servingxml-help mailing list
Ser...@li...
https://lists.sourceforge.net/lists/listinfo/servingxml-help
|