Thanks again, Noble. All is working fine for me now.
Erik
On Dec 14, 2008, at 10:33 AM, Noble Paul നോബിള്
नोब्ळ् wrote:
Also, I want to add in date transformation like in the example above
commented out. How would I use both the TemplateTransformer and the
DateFormatTransformer,
Transformers are chained. transformer="a,b,c" (comma separated)
first a is applied then b and then c.
since I'm specifying the transformer on the entity
rather than the field it is used on? I don't yet understand why the
transformer is entity-based rather than per-field.
A row is emitted by an entity and a field is one of the values in that
row. A field declaration is optional because it can be implicit if it
is present in the schema. (But , for XPathEntityProcessor it is not )
..Moreover there is no component in DIH which corresponds to a Field
where this can be attached
Hence , the transformers are declared on an entity
Thanks for your help, Noble.
Erik