[Servingxml-help] Urgent Query - Mandatory/optional field | conditions for flat file
Brought to you by:
danielaparker
|
From: \Mohit G. | D. S. Ltd.\ <moh...@da...> - 2007-08-10 07:41:34
|
Hi,
I am using ServingXML to convert some flat file data to XML format. It =
is a very nice tool.
I seek some urgent help for a few points, whether these are achievable =
using ServingXML or not? Points are:=20
1.. Can we declare any field as mandatory or optional in flat file =
structure?
2.. Can we specify condition for any field like=20
1.. 3rd field in a record should exist only if value of 2nd field is =
'male'.
2.. I.e. condition in a single record, where existence of one field =
is dependent on some value in any previous field in same record.
3.. While parsing flat file, tool is not ignoring the record =
delimiters and so new line character is also coming into fixed width =
counting. What can be the solution for this?
4.. PadCharacter, and justify attributes are not working while =
converting flat file to xml. Is there any solution? In code, =
LineFormatter is only working with PositionalFieldWriter.
Solution for these points is very important for our project. Please help =
urgently.
Regards,
--=20
Mohit Gupta=20
Daffodil Software Ltd | IInd floor, Vipul Orchid Plaza, Sec - 54, =
Gurgaon
Tel: +91-124-414-5800 | Cell: +91-981-007-0148 | Fax: +91-124-414-5801=20
E-Mail: moh...@da... | Web: www.daffodilsw.com=20
Experience is the only teacher we have. We may talk and reason all our =
lives, but we shall not understand a word of truth until we experience =
it ourselves.
|