8000 CsvParserPipe · frankframework/frankframework Wiki · GitHub
[go: up one dir, main page]

Skip to content
BonnoSmeele edited this page Oct 8, 2024 · 1 revision

Convert a single line to XML. You can use this if you receive a single line from a iteratorsender that calls the subadapter this pipe is located in. As there is no header in this case, fileContainsHeader is set to false. A line with 3 values will have 3 fieldnames as defined in the fieldNames property

			
<CsvParserPipe name="SingleLineToXML"
	fieldSeparator=";"
	fileContainsHeader="false"
	prettyPrint="true"
	fieldNames="header1,header2,header3,">
	<Forward name="success" path="NextPipe"/>
</CsvParserPipe>

Convert an entire file wich contains a headerline. XML field names will be taken from the headerline. IF there is no headerline you can set fileContainsHeader to false and use property fieldNames to define your own.

<CsvParserPipe name="ParseCSVtoXML"
	fieldSeparator=";">
	<forward name="success" path="NextPipe"/>
</CsvParserPipe>

Clone this wiki locally

0