Frends.FixedWidthFlatFile.ConvertToXML / 3.0.0
Summary
Turns already-parsed flat file rows into an XML string.
Typical use — the step after parsing, when the rows are headed for an XSLT or schema step
3.0.02026-11-16
Changed
- Breaking Task now takes fixed width flat file (provided as a string content or read from a file) as input instead of the
List<Dictionary<string, dynamic>>. - Breaking Flat file can now be given as a string or read from a file (
Input.SourceType,Input.FlatFilePath), and the XML can be returned as a string or written to a new file (Options.DestinationType,Options.DestinationFilePath,Result.FilePath). An existing destination file is never overwritten. HeaderRow,HeaderDelimiterandColumnSpecificationsproperties are added toOptionstab to define the structure of the flat file.- Added
SkipRows,SkipRowsFromTopandSkipRowsFromBottomoptions. - A flat file without any data rows (e.g. header only, or all rows skipped) now produces an XML with empty
Rowselement instead of an error. - Values are parsed using the culture given in
Options.Culture(invariant culture when empty), and the XML is always written using invariant culture, so the result no longer depends on the culture of the agent.
2.0.02026-09-10
Changed
- Breaking Renamed the
dataparameter toinput. - Added
Optionsparameter withThrowErrorOnFailureandErrorMessageOnFailureproperties, allowing errors to be returned as a failed result instead of throwing an exception. Resultobject now includesSuccessandErrorproperties in addition toData.- Target framework changed to net8.0.
1.1.02026-04-16
Updated
- Updated Result.Data documentation and task description.
1.0.12023-07-26
Updated
- Updated task documentation.
1.0.02022-04-07
Added
- Initial implementation