Patrick Fiala
2010-06-17 10:46:12 UTC
Hi,
I currently have the task to implement the export of data with Aif in
a 4.0-environment. Bascically no problem, however my process has to
create csv-files. The Aif creates xml-files in the firstplace, however
it is possible to modify the resultfile by a xslt-transformation in
the pipeline. So I've created a xslt-file which transforms the
xml-file resulting from the first step to a csv-file. When I add this
xslt-file as pipeline to my Aif process I get the errormessage "Data
at the root level is invalid. Line 1, position 1". My subsequent
investigations gave the result that the file finally created by the
Aif (after eventually executed steps in the pipeline) has to be a
valid xml-file. That would mean, that it isn't possible to create a
plain text-/csv-file with the Aif itself. For that an additional step
would be necessary which couldn't be executed within the
Aif-framework. Is this really the case or is there any possibility to
create a csv-file with the Aif and which I haven't found?
Regards
Patrick
I currently have the task to implement the export of data with Aif in
a 4.0-environment. Bascically no problem, however my process has to
create csv-files. The Aif creates xml-files in the firstplace, however
it is possible to modify the resultfile by a xslt-transformation in
the pipeline. So I've created a xslt-file which transforms the
xml-file resulting from the first step to a csv-file. When I add this
xslt-file as pipeline to my Aif process I get the errormessage "Data
at the root level is invalid. Line 1, position 1". My subsequent
investigations gave the result that the file finally created by the
Aif (after eventually executed steps in the pipeline) has to be a
valid xml-file. That would mean, that it isn't possible to create a
plain text-/csv-file with the Aif itself. For that an additional step
would be necessary which couldn't be executed within the
Aif-framework. Is this really the case or is there any possibility to
create a csv-file with the Aif and which I haven't found?
Regards
Patrick