flatfile to xml

hi all,
can anyone say how this flat file
abc|1234|efgh
abb|1221|eeee
bbc|2232|aaaa

can be converted into this XML format



abc
1234
efgh


abb
1221
eeee


bbc
2232
aaaa


tell me also how the flat file schema is to be created in this case.

thanks in advance.

What insight have you gained from studying the Flat File Developer’s guide? What have you tried? What effort have you put into figuring this out?

Mark

actually i solved this by creating a flatfile schema and using flow services convertToValues and documentToString which worked but did not give the tags.
can u tell me how to get these tags because as the flat file does not have this tags so they are not present in schema and in final xml do.
i just want to kno the best way to get these tags.

u need to create a document type using the xml schema and then map the incoming flatfile values to the xml document type .
and then u can convert the xml document to string using the xml schema .

thanks a lot that info was very useful.