Re: [Servingxml-help] Urgent Query - Mandatory/optional field |conditions for flat file
Brought to you by:
danielaparker
From: Daniel P. <dan...@wi...> - 2007-08-13 04:08:52
|
----- Original Message -----=20 From: "Mohit Gupta | Daffodil Software Ltd."=20 To: ser...@li...=20 Sent: Friday, August 10, 2007 3:41 AM Subject: [Servingxml-help] Urgent Query - Mandatory/optional field = |conditions for flat file 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?=20 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'.=20 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?=20 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 = 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. -------------------------------------------------------------------------= ----- = -------------------------------------------------------------------------= This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a = browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------------------------------------------------------------------= ----- _______________________________________________ Servingxml-help mailing list Ser...@li... https://lists.sourceforge.net/lists/listinfo/servingxml-help |